mirror of
https://github.com/sheumann/hush.git
synced 2025-01-03 00:31:16 +00:00
Random in-passing tweak.
This commit is contained in:
parent
187e352b7f
commit
ea9a471acd
@ -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 *llist_free_one(llist_t *elm)
|
||||||
{
|
{
|
||||||
llist_t *next = elm ? elm->link : NULL;
|
llist_t *next = elm ? elm->link : NULL;
|
||||||
#if ENABLE_DMALLOC /* avoid warnings from dmalloc's error-free-null option */
|
|
||||||
if (elm)
|
|
||||||
#endif
|
|
||||||
free(elm);
|
free(elm);
|
||||||
elm = next;
|
return next;
|
||||||
return elm;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user