summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean@guyomarch.bzh>2018-01-08 22:19:18 +0100
committerJean Guyomarc'h <jean@guyomarch.bzh>2018-01-08 22:19:18 +0100
commitf654f7e2995095cd15d1fd3080ac2d80eadc9f45 (patch)
tree4a48092a1cfce164c534def0a8092c2b73a83d30
parent9e742ed9d0fd224e10db0d6d8bd3cc20ffc49e68 (diff)
eina: unregister log level when done with
Fixes a constant memory leak.
-rw-r--r--src/lib/eina/eina_cow.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/eina/eina_cow.c b/src/lib/eina/eina_cow.c
index 73a65e5f30..8ec86cfd79 100644
--- a/src/lib/eina/eina_cow.c
+++ b/src/lib/eina/eina_cow.c
@@ -320,6 +320,7 @@ eina_cow_init(void)
320Eina_Bool 320Eina_Bool
321eina_cow_shutdown(void) 321eina_cow_shutdown(void)
322{ 322{
323 eina_log_domain_unregister(_eina_cow_log_dom);
323 eina_mempool_del(gc_pool); 324 eina_mempool_del(gc_pool);
324 return EINA_TRUE; 325 return EINA_TRUE;
325} 326}