Add missing magic check for existing node.

SVN revision: 37279
This commit is contained in:
Gustavo Sverzut Barbieri 2008-10-28 17:16:42 +00:00
parent 2569094023
commit a5db129f56
1 changed files with 1 additions and 0 deletions

View File

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