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
This commit is contained in:
Mike Blumenkrantz 2019-02-25 17:12:57 -05:00
parent 5f85e61f6a
commit e7ebf92c92
1 changed files with 2 additions and 0 deletions

View File

@ -188,6 +188,8 @@ eina_vpath_init(void)
Eina_Bool
eina_vpath_shutdown(void)
{
eina_hash_free(vpath_data);
vpath_data = NULL;
eina_log_domain_unregister(_eina_vpath_log_dom);
_eina_vpath_log_dom = -1;
return EINA_TRUE;