summaryrefslogtreecommitdiff
path: root/src/lib/eina
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-02-25 17:12:57 -0500
committerMike Blumenkrantz <zmike@samsung.com>2019-02-25 17:12:57 -0500
commite7ebf92c9209ceb93b6a89d210c15af5260a7b21 (patch)
treeaeb188e60e23bc5d70c09c555734a588376849d2 /src/lib/eina
parent5f85e61f6a4661f7cac928da11dc34675759a9b9 (diff)
eina: free vpath hash on shutdown
Summary: this resolves a considerable number of leaks in unit tests Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8020
Diffstat (limited to 'src/lib/eina')
-rw-r--r--src/lib/eina/eina_vpath.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/eina/eina_vpath.c b/src/lib/eina/eina_vpath.c
index 816d0c7aea..207bb8aad0 100644
--- a/src/lib/eina/eina_vpath.c
+++ b/src/lib/eina/eina_vpath.c
@@ -188,6 +188,8 @@ eina_vpath_init(void)
188Eina_Bool 188Eina_Bool
189eina_vpath_shutdown(void) 189eina_vpath_shutdown(void)
190{ 190{
191 eina_hash_free(vpath_data);
192 vpath_data = NULL;
191 eina_log_domain_unregister(_eina_vpath_log_dom); 193 eina_log_domain_unregister(_eina_vpath_log_dom);
192 _eina_vpath_log_dom = -1; 194 _eina_vpath_log_dom = -1;
193 return EINA_TRUE; 195 return EINA_TRUE;