projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
187e352
)
Random in-passing tweak.
author
Rob Landley
<rob@landley.net>
Thu, 16 Mar 2006 14:40:27 +0000
(14:40 -0000)
committer
Rob Landley
<rob@landley.net>
Thu, 16 Mar 2006 14:40:27 +0000
(14:40 -0000)
libbb/llist.c
patch
|
blob
|
history
diff --git
a/libbb/llist.c
b/libbb/llist.c
index af0a9948cfdd5a8b7faafb88fb969d5ab4f31b9e..5b70d6628ce89125c8b529b16267373ce9da12d5 100644
(file)
--- a/
libbb/llist.c
+++ b/
libbb/llist.c
@@
-53,12
+53,8
@@
llist_t *llist_add_to_end(llist_t *list_head, char *data)
llist_t *llist_free_one(llist_t *elm)
{
llist_t *next = elm ? elm->link : NULL;
-#if ENABLE_DMALLOC /* avoid warnings from dmalloc's error-free-null option */
- if (elm)
-#endif
- free(elm);
- elm = next;
- return elm;
+ free(elm);
+ return next;
}
#endif