Fix HashMap_destroy

This commit is contained in:
Stephen Seo 2019-02-08 12:48:15 +09:00
parent eb9eb17a14
commit 8af6ff500d

View file

@ -76,6 +76,7 @@ void UDPC_HashMap_destroy(UDPC_HashMap *hashMap)
UDPC_Deque_destroy(hashMap->buckets[x]); UDPC_Deque_destroy(hashMap->buckets[x]);
} }
free(hashMap->buckets); free(hashMap->buckets);
free(hashMap->overflow);
free(hashMap); free(hashMap);
} }