projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
778bf84
)
evas: let fix all unref in the same way.
author
Cedric BAIL
<cedric.bail@free.fr>
Tue, 4 Dec 2012 01:54:22 +0000
(
01:54
+0000)
committer
Cedric BAIL
<cedric.bail@free.fr>
Tue, 4 Dec 2012 01:54:22 +0000
(
01:54
+0000)
SVN revision: 80120
src/lib/evas/common/evas_text_utils.c
patch
|
blob
|
history
diff --git
a/src/lib/evas/common/evas_text_utils.c
b/src/lib/evas/common/evas_text_utils.c
index
0134bd8
..
9182512
100644
(file)
--- 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)
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;