mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 23:18:21 +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);
|
slab_free(hashentrycache, entry);
|
||||||
entry = &entrysave;
|
entry = &entrysave;
|
||||||
}
|
}
|
||||||
|
free(table->entries);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user