svn commit: trunk/busybox/libbb
landley at busybox.net
landley at busybox.net
Thu Mar 16 14:40:31 UTC 2006
Author: landley
Date: 2006-03-16 06:40:27 -0800 (Thu, 16 Mar 2006)
New Revision: 14546
Log:
Random in-passing tweak.
Modified:
trunk/busybox/libbb/llist.c
Changeset:
Modified: trunk/busybox/libbb/llist.c
===================================================================
--- trunk/busybox/libbb/llist.c 2006-03-16 04:38:56 UTC (rev 14545)
+++ trunk/busybox/libbb/llist.c 2006-03-16 14:40:27 UTC (rev 14546)
@@ -53,12 +53,8 @@
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
More information about the busybox-cvs
mailing list