summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2012-12-04 01:54:22 +0000
committerCedric BAIL <cedric.bail@free.fr>2012-12-04 01:54:22 +0000
commit014b5a1a29100fccf2f5de3eae68a2d7e3e74bf2 (patch)
tree73bbf39ad39736628abfbd24cf4752720df2d849 /src
parent778bf8473f65eddc39e648befda0d4572e950423 (diff)
evas: let fix all unref in the same way.
SVN revision: 80120
Diffstat (limited to 'src')
-rw-r--r--src/lib/evas/common/evas_text_utils.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/evas/common/evas_text_utils.c b/src/lib/evas/common/evas_text_utils.c
index 0134bd8170..9182512b8d 100644
--- a/src/lib/evas/common/evas_text_utils.c
+++ b/src/lib/evas/common/evas_text_utils.c
@@ -60,14 +60,14 @@ evas_common_text_props_content_nofree_unref(Evas_Text_Props *props)
60 if (!props->info) 60 if (!props->info)
61 return; 61 return;
62 62
63 if (props->font_instance)
64 {
65 evas_common_font_int_unref(props->font_instance);
66 props->font_instance = NULL;
67 }
68
69 if (--(props->info->refcount) == 0) 63 if (--(props->info->refcount) == 0)
70 { 64 {
65 if (props->font_instance)
66 {
67 evas_common_font_int_unref(props->font_instance);
68 props->font_instance = NULL;
69 }
70
71 free(props->glyphs); 71 free(props->glyphs);
72 props->glyphs = NULL; 72 props->glyphs = NULL;
73 props->glyphs_length = 0; 73 props->glyphs_length = 0;