summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJihoon Kim <imfine98@gmail.com>2012-12-21 11:09:57 +0000
committerJihoon Kim <imfine98@gmail.com>2012-12-21 11:09:57 +0000
commitea75ea395789e0e99a5f50c4826055aea565f413 (patch)
treed4ad80d5e31be81638f087098c57f9fdabe9fb7a
parent3014843077c4939f181c502c5540b92a1294a964 (diff)
elm: Backport 81538
SVN revision: 81539
-rw-r--r--ChangeLog4
-rw-r--r--NEWS1
-rw-r--r--src/lib/elm_entry.c5
3 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index eff9238a9..c3cb05649 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -662,3 +662,7 @@
6622012-12-21 Stefan Schmidt 6622012-12-21 Stefan Schmidt
663 663
664 * Fix small memory leak in elm_map error path. 664 * Fix small memory leak in elm_map error path.
665
6662012-12-21 Jihoon Kim
667
668 * Fix memory leak in _item_tag_remove of elm_entry.
diff --git a/NEWS b/NEWS
index cd37463f0..9654723b6 100644
--- a/NEWS
+++ b/NEWS
@@ -15,6 +15,7 @@ Fixes:
15 * Fix Don't elm_transit image animation use the image preloading to avoid image flickering. 15 * Fix Don't elm_transit image animation use the image preloading to avoid image flickering.
16 * Fix the image to show the image right now if the image preloading is disabled. 16 * Fix the image to show the image right now if the image preloading is disabled.
17 * Fix small memory leak in elm_map error path 17 * Fix small memory leak in elm_map error path
18 * Fix memory leak in _item_tag_remove of elm_entry.
18 19
19 20
20Elementary 1.7.3 21Elementary 1.7.3
diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c
index 7b5faa155..b09ec94f1 100644
--- a/src/lib/elm_entry.c
+++ b/src/lib/elm_entry.c
@@ -1208,7 +1208,10 @@ _remove_item_tags(const char *str)
1208 return NULL; 1208 return NULL;
1209 1209
1210 if (!eina_strbuf_append(buf, str)) 1210 if (!eina_strbuf_append(buf, str))
1211 return NULL; 1211 {
1212 eina_strbuf_free(buf);
1213 return NULL;
1214 }
1212 1215
1213 while (EINA_TRUE) 1216 while (EINA_TRUE)
1214 { 1217 {