forked from Telodendria/Cytoplasm
Merge branch 'master' of https://git.telodendria.io/Telodendria/Cytoplasm into lmdbwerk
This commit is contained in:
commit
2b061f1226
1 changed files with 2 additions and 0 deletions
|
@ -184,6 +184,8 @@ HashMapDelete(HashMap * map, const char *key)
|
|||
if (bucket->hash == hash)
|
||||
{
|
||||
bucket->hash = 0;
|
||||
Free(bucket->key);
|
||||
bucket->key = NULL;
|
||||
return bucket->value;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue