summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2017-12-07 19:00:15 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2017-12-07 19:11:58 +0100
commit8653d8cd73076e47ea342f4c15cf29b0c245325b (patch)
tree4644e92d6a747d2c303843d03d4a724a461520dc /src
parente7bf69fc0476b46790bb1b74f7d0fa63b6d8bd88 (diff)
eolian: properly free all hashes in state free
Diffstat (limited to 'src')
-rw-r--r--src/lib/eolian/eolian_database.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib/eolian/eolian_database.c b/src/lib/eolian/eolian_database.c
index 5629b9e908..9161be0328 100644
--- a/src/lib/eolian/eolian_database.c
+++ b/src/lib/eolian/eolian_database.c
@@ -619,6 +619,20 @@ eolian_free(Eolian *state)
619 619
620 database_unit_del(&state->unit); 620 database_unit_del(&state->unit);
621 621
622 eina_hash_free(state->filenames_eo);
623 eina_hash_free(state->filenames_eot);
624
625 eina_hash_free(state->parsed);
626 eina_hash_free(state->parsing);
627 eina_hash_free(state->defer);
628
629 eina_hash_free(state->classes_f);
630 eina_hash_free(state->aliases_f);
631 eina_hash_free(state->structs_f);
632 eina_hash_free(state->enums_f);
633 eina_hash_free(state->globals_f);
634 eina_hash_free(state->constants_f);
635
622 free(state); 636 free(state);
623} 637}
624 638