mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-22 11:48:10 +00:00
squash with ll
This commit is contained in:
parent
6fc0c69b2e
commit
e94252ad65
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue