hashtable: fix memory leak

This commit is contained in:
Matheus
2024-07-30 20:30:08 -03:00
parent c57971219b
commit 67fab4f0aa
+1
View File
@@ -105,6 +105,7 @@ int hashtable_destroy(hashtable_t *table) {
slab_free(hashentrycache, entry);
entry = &entrysave;
}
free(table->entries);
return 0;
}