forked from enlightenment/efl
parent
f85e3b839c
commit
5ff5b1a64b
|
@ -84,13 +84,13 @@ EAPI void ecore_string_release(const char *string)
|
|||
|
||||
CHECK_PARAM_POINTER("string", string);
|
||||
|
||||
str = ecore_hash_get(ecore_strings, string);
|
||||
str = ecore_hash_get(ecore_strings, (char *)string);
|
||||
if (!str)
|
||||
return;
|
||||
|
||||
str->references--;
|
||||
if (str->references < 1) {
|
||||
ecore_hash_remove(ecore_strings, string);
|
||||
ecore_hash_remove(ecore_strings, (char *)string);
|
||||
FREE(str->string);
|
||||
FREE(str);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue