forked from Telodendria/Cytoplasm
Compare commits
3 commits
e8543bdb2a
...
c7204f316c
Author | SHA1 | Date | |
---|---|---|---|
|
c7204f316c | ||
4903c075e8 | |||
|
da857a3d53 |
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