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:
68c583b
)
evas_font_dir: do not passed free'd memory to eina_list_remove()
84/59184/3
author
Stefan Schmidt
<stefan@osg.samsung.com>
Mon, 30 Nov 2015 16:16:28 +0000
(17:16 +0100)
committer
Youngbok Shin
<youngb.shin@samsung.com>
Wed, 17 Feb 2016 08:22:35 +0000
(
00:22
-0800)
Free the actual memory after we removed it from the list.
Change-Id: I4a1211df9c2ca52f6eba34a9ae78a16d19edf4dc
src/lib/evas/canvas/evas_font_dir.c
patch
|
blob
|
history
diff --git
a/src/lib/evas/canvas/evas_font_dir.c
b/src/lib/evas/canvas/evas_font_dir.c
index
de771fd
..
dab062f
100644
(file)
--- a/
src/lib/evas/canvas/evas_font_dir.c
+++ b/
src/lib/evas/canvas/evas_font_dir.c
@@
-1221,8
+1221,8
@@
object_text_font_cache_dir_add(char *dir)
}
free(tmp);
}
- free(fdir->data);
fdir = eina_list_remove(fdir, fdir->data);
+ free(fdir->data);
}
/* fonts.alias */