forked from enlightenment/efl
evas: let fix all unref in the same way.
SVN revision: 80120
This commit is contained in:
parent
778bf8473f
commit
014b5a1a29
|
@ -60,14 +60,14 @@ evas_common_text_props_content_nofree_unref(Evas_Text_Props *props)
|
||||||
if (!props->info)
|
if (!props->info)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (--(props->info->refcount) == 0)
|
||||||
|
{
|
||||||
if (props->font_instance)
|
if (props->font_instance)
|
||||||
{
|
{
|
||||||
evas_common_font_int_unref(props->font_instance);
|
evas_common_font_int_unref(props->font_instance);
|
||||||
props->font_instance = NULL;
|
props->font_instance = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (--(props->info->refcount) == 0)
|
|
||||||
{
|
|
||||||
free(props->glyphs);
|
free(props->glyphs);
|
||||||
props->glyphs = NULL;
|
props->glyphs = NULL;
|
||||||
props->glyphs_length = 0;
|
props->glyphs_length = 0;
|
||||||
|
|
Loading…
Reference in New Issue