busybox: remove uniq memleak patch, applet was fixed upstream in v1.15.2 (closes: #6354)

SVN-Revision: 18778
This commit is contained in:
Nicolas Thill 2009-12-14 15:57:00 +00:00
parent 3c74d0b385
commit 03ab02cde7

View File

@ -1,11 +0,0 @@
--- a/coreutils/uniq.c
+++ b/coreutils/uniq.c
@@ -82,6 +82,8 @@ int uniq_main(int argc UNUSED_PARAM, cha
if (!s0 || strncmp(e0, e1, max_chars)) {
break;
+ } else {
+ free(s1);
}
free((char*)s1);