ami pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=5e32c6927a583b7e4ebd412dfd9b9e123d01d1c3

commit 5e32c6927a583b7e4ebd412dfd9b9e123d01d1c3
Author: Amitesh Singh <amitesh...@samsung.com>
Date:   Fri Jul 31 11:12:53 2015 +0530

    cnp: use ELM_SAFE_FREE
---
 src/lib/elm_cnp.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/lib/elm_cnp.c b/src/lib/elm_cnp.c
index 0557928..7c08b3f 100644
--- a/src/lib/elm_cnp.c
+++ b/src/lib/elm_cnp.c
@@ -3693,8 +3693,7 @@ _elm_cnp_shutdown(void)
    if (--_elm_cnp_init_count > 0) return EINA_TRUE;
    eina_stringshare_del(text_uri);
    text_uri = NULL;
-   eina_hash_free(_types_hash);
-   _types_hash = NULL;
+   ELM_SAFE_FREE(_types_hash, eina_hash_free);
    return EINA_TRUE;
 }
 

-- 


Reply via email to