cnp: use ELM_SAFE_FREE

This commit is contained in:
Amitesh Singh 2015-07-31 11:12:53 +05:30
parent 64901de655
commit 7bbfe4b1b3
1 changed files with 1 additions and 2 deletions

View File

@ -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;
}