forked from enlightenment/efl
Add missing magic check for existing node.
SVN revision: 37279
This commit is contained in:
parent
2569094023
commit
a5db129f56
|
@ -812,6 +812,7 @@ eina_stringshare_add(const char *str)
|
|||
el = _eina_stringshare_head_find(ed, str, slen);
|
||||
if (el)
|
||||
{
|
||||
EINA_MAGIC_CHECK_STRINGSHARE_NODE(el);
|
||||
el->references++;
|
||||
return el->str;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue