Random in-passing tweak.

This commit is contained in:
Rob Landley 2006-03-16 14:40:27 +00:00
parent 187e352b7f
commit ea9a471acd

View File

@ -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