evas: let fix all unref in the same way.

SVN revision: 80120
This commit is contained in:
Cedric BAIL 2012-12-04 01:54:22 +00:00
parent 778bf8473f
commit 014b5a1a29
1 changed files with 6 additions and 6 deletions

View File

@ -60,14 +60,14 @@ evas_common_text_props_content_nofree_unref(Evas_Text_Props *props)
if (!props->info)
return;
if (props->font_instance)
{
evas_common_font_int_unref(props->font_instance);
props->font_instance = NULL;
}
if (--(props->info->refcount) == 0)
{
if (props->font_instance)
{
evas_common_font_int_unref(props->font_instance);
props->font_instance = NULL;
}
free(props->glyphs);
props->glyphs = NULL;
props->glyphs_length = 0;