Skip to content
Snippets Groups Projects
Commit e72a4b5b authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

Fix missing decrement of global counter.

parent 5bf73ffb
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment