summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYakov Goldberg <yakov.g@samsung.com>2014-06-01 18:08:04 +0300
committerYakov Goldberg <yakov.g@samsung.com>2014-06-02 11:23:10 +0300
commitd4c19949ea13fac4d54b7cc8cc22f5feb55a0c24 (patch)
tree2b0f33fc5b65dcdc1489ac2e072a9fd10105b7e6
parentf213d70f64813034b977e990c8b46ed7390b67b2 (diff)
couple of mem leaks fixed
-rw-r--r--src/lib/generator.c1
-rw-r--r--src/lib/gui_widget.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/generator.c b/src/lib/generator.c
index dcc6314..514120f 100644
--- a/src/lib/generator.c
+++ b/src/lib/generator.c
@@ -908,6 +908,7 @@ generator_ctx_source_generate(Gui_Context *ctx, Generator_Export_Format format,
908 908
909 _export_mode = mode; 909 _export_mode = mode;
910 _ctx_to_file_save(ctx); 910 _ctx_to_file_save(ctx);
911 eo_del(C_generator);
911} 912}
912 913
913 914
diff --git a/src/lib/gui_widget.c b/src/lib/gui_widget.c
index bd7318f..b5c0bd9 100644
--- a/src/lib/gui_widget.c
+++ b/src/lib/gui_widget.c
@@ -2285,6 +2285,7 @@ session_del(Gui_Session *session)
2285 eina_hash_free(session->delayed_props_lists_hash); 2285 eina_hash_free(session->delayed_props_lists_hash);
2286 eina_hash_free(session->eo_hash); 2286 eina_hash_free(session->eo_hash);
2287 eina_hash_free(session->item_hash); 2287 eina_hash_free(session->item_hash);
2288 eina_list_free(session->wins);
2288 void *data; 2289 void *data;
2289 EINA_LIST_FREE(session->datas_to_free, data) 2290 EINA_LIST_FREE(session->datas_to_free, data)
2290 free(data); 2291 free(data);