[PATCH] ln: memory leak - removed unnecessary xstrdup allocation

Alexey Soloviev EXT-Alexey.Soloviev at nokia.com
Tue Mar 15 08:05:14 UTC 2011


Hello.
With valgrind noticed a memory leak in ln. It occurs with only one 
parameter passed, which is a file or dir with full path for which a 
symlink in current directory is created. String allocation is not needed 
here and should be removed.

Best Regards,
Alexey.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ln-removed-unnecessary-xstrdup-allocation.patch
Type: text/x-patch
Size: 738 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20110315/9d257d8a/attachment.bin>


More information about the busybox mailing list