mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-18 07:10:18 +02:00
[package] busybox: remove uniq memleak patch, applet was fixed upstream in v1.15.2 (closes: #6354)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18778 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
99a469f933
commit
094ece437d
@ -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);
|
|
Loading…
Reference in New Issue
Block a user