forked from enlightenment/efl
Evas textblock: Fix a small stringshare leak.
I don't know how this got in. Anyhow, stringshare leaks are hard to spot. SVN revision: 76197
This commit is contained in:
parent
5f54cc0b2d
commit
06cc2874ef
|
@ -4745,7 +4745,7 @@ _textblock_style_generic_set(Evas_Object *obj, Evas_Textblock_Style *ts,
|
|||
while (*match == ' ') match++;
|
||||
}
|
||||
fnode->is_new = EINA_TRUE;
|
||||
fnode->format = eina_stringshare_add(match);
|
||||
eina_stringshare_replace(&fnode->format, match);
|
||||
}
|
||||
fnode = _NODE_FORMAT(EINA_INLIST_GET(fnode)->next);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue