summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNibha Sharma <nibha.sharma@samsung.com>2015-01-08 10:46:05 +0900
committerChunEon Park <hermet@hermet.pe.kr>2015-01-08 10:46:05 +0900
commit5dbddf6fe02c64db4d7fa5daf1703bc967d3f143 (patch)
tree0df38ac9d05edfbb86a922cfc596563cf295e364
parentae86822febae1de8912309caf1105869d62cec94 (diff)
elm_font: Fixed resource leak in function elm_font_available_hash_add
Summary: @Fix Reviewers: raster, singh.amitesh, seoz, kimcinoo, Hermet Reviewed By: Hermet Differential Revision: https://phab.enlightenment.org/D1849
-rw-r--r--src/lib/elm_font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elm_font.c b/src/lib/elm_font.c
index d95c8157f..1f34681a8 100644
--- a/src/lib/elm_font.c
+++ b/src/lib/elm_font.c
@@ -195,7 +195,7 @@ elm_font_available_hash_add(Eina_List *list)
195 font_hash = _elm_font_available_hash_add(font_hash, "Monospace:style=Bold Oblique"); 195 font_hash = _elm_font_available_hash_add(font_hash, "Monospace:style=Bold Oblique");
196 196
197 EINA_LIST_FOREACH(list, l, key) 197 EINA_LIST_FOREACH(list, l, key)
198 if (key) _elm_font_available_hash_add(font_hash, key); 198 if (key) font_hash = _elm_font_available_hash_add(font_hash, key);
199 199
200 return font_hash; 200 return font_hash;
201} 201}