sed and llist
Yann E. MORIN
yann.morin.1998 at anciens.enib.fr
Fri May 19 19:27:16 UTC 2006
Hello all!
sed calls an non-existing llist_free_contents function.
The contents of the list are char* allocated with bb_xstrdup, so should be
freed with free(3). Am I right here?
Here is a patch against trunk to solve this by calling llist_free with freeit
set to free(3).
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software Designer | \ / CAMPAIGN | ^ |
| --==< °_° >==-- °---.----------------: X AGAINST | /e\ There is no |
| web: ymorin.free.fr | SETI at home 3808 | / \ HTML MAIL | """ conspiracy. |
°---------------------°----------------°------------------°--------------------°
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-sed-llist_free.patch
Type: text/x-diff
Size: 428 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20060519/a40ecfa2/attachment.bin
More information about the busybox
mailing list