mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
squash with ll
This commit is contained in:
parent
6fc0c69b2e
commit
e94252ad65
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user