mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
hashtable: fix memory leak
This commit is contained in:
@@ -105,6 +105,7 @@ int hashtable_destroy(hashtable_t *table) {
|
||||
slab_free(hashentrycache, entry);
|
||||
entry = &entrysave;
|
||||
}
|
||||
free(table->entries);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user