fix string_table freeing a pointer that wasn't malloc'd

This commit is contained in:
2025-02-24 15:54:00 +00:00
parent a2a941440a
commit 43f6ad2c8f

View File

@@ -78,8 +78,6 @@ void string_table_finish(struct string_table *tab)
b_btree_iterator_erase(&it); b_btree_iterator_erase(&it);
free(entry); free(entry);
} }
free(tab);
} }
size_t string_table_get(struct string_table *tab, const char *s) size_t string_table_get(struct string_table *tab, const char *s)