Merge branch 'master' into opt-ssl-for-sha

This commit is contained in:
lda 2024-08-16 12:33:11 -04:00
commit c7204f316c

View file

@ -184,6 +184,8 @@ HashMapDelete(HashMap * map, const char *key)
if (bucket->hash == hash) if (bucket->hash == hash)
{ {
bucket->hash = 0; bucket->hash = 0;
Free(bucket->key);
bucket->key = NULL;
return bucket->value; return bucket->value;
} }