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:
Tom Hacohen 2012-09-05 13:25:12 +00:00
parent 5f54cc0b2d
commit 06cc2874ef
1 changed files with 1 additions and 1 deletions

View File

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