squash with ll

This commit is contained in:
Geoffrey McRae 2022-01-12 10:03:31 +11:00
parent 6fc0c69b2e
commit e94252ad65

View File

@ -22,6 +22,7 @@
#define _H_LL_
#include <stdbool.h>
#include <stdlib.h>
#include "common/locking.h"
@ -97,6 +98,7 @@ static inline bool ll_removeData(struct ll * list, void * match)
{
ll_removeNL(list, item);
ll_unlock(list);
free(item);
return true;
}
ll_unlock(list);