Commit e72a4b5b authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Fix missing decrement of global counter.

parent 5bf73ffb
......@@ -112,6 +112,7 @@ listSetRemove(listSet *q, int (*predicate)(void *, void *),
if (rem == q->tail) q->tail = NULL;
int iret = q->valDestroy(rem->val);
*p = rem->next;
q->count--;
Free(rem);
return iret;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment