Fix memory leak in symbol_id_entry_directory

symbol_id_entry_directory is not an embedded TypedData, so we need to free
the allocated id_entry_dir as well.
This commit is contained in:
Peter Zhu committed 2026-08-26 09:17:39 +09:00
1 parent 331568b2a9
commit 078029fb96
1 file changed
+1
Notes: git 2026-08-26 00:18:09 +00:00
+1
View File
@@ -235,6 +235,7 @@ id_entry_dir_free(void *ptr)
{
struct id_entry_dir *dir = ptr;
SIZED_FREE_N(dir->entries, dir->capa);
xfree(dir);
}
static size_t