pseudomap: fix bug in pseudomap_remove

This commit is contained in:
rofl0r 2022-05-16 08:42:13 +00:00
parent 1cd92e5ecb
commit 2508c1a5e6

View File

@ -81,6 +81,7 @@ int pseudomap_remove(pseudomap *o, const char *key) {
e = sblist_get(o, i);
free(e->key);
free(e->value);
sblist_delete(o, i);
ret = 1;
}
return ret;