summaryrefslogtreecommitdiff
path: root/libbb/llist.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-05-16 12:21:31 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-05-16 12:21:31 +0200
commit9be4702a304863095d20181b5632ee7e0a4acdc4 (patch)
treea762d7482c1207417d0dee719ef4887b8f100b06 /libbb/llist.c
parent9a296fbeab604c9b64189b02a79654ec0aa68130 (diff)
downloadbusybox-9be4702a304863095d20181b5632ee7e0a4acdc4.tar.gz
main: free suid_config list after use
function old new delta run_applet_no_and_exit 438 450 +12 ifupdown_main 2147 2149 +2 writeFileToTarball 1325 1326 +1 pidof_main 244 245 +1 last_main 896 897 +1 grep_main 779 780 +1 find_list_entry2 121 122 +1 tar_main 835 833 -2 llist_unlink 28 26 -2 llist_rev 23 21 -2 main 791 782 -9 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 7/4 up/down: 19/-15) Total: 4 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/llist.c')
-rw-r--r--libbb/llist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/llist.c b/libbb/llist.c
index ed84e6472..032e9fac8 100644
--- a/libbb/llist.c
+++ b/libbb/llist.c
@@ -62,7 +62,7 @@ void FAST_FUNC llist_unlink(llist_t **head, llist_t *elm)
/* Recursively free all elements in the linked list. If freeit != NULL
* call it on each datum in the list */
-void FAST_FUNC llist_free(llist_t *elm, void (*freeit) (void *data))
+void FAST_FUNC llist_free(llist_t *elm, void (*freeit)(void *data))
{
while (elm) {
void *data = llist_pop(&elm);