summaryrefslogtreecommitdiff
path: root/src/lib/evas/common/language
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@datenfreihafen.org>2012-12-19 09:28:02 +0000
committerStefan Schmidt <stefan@datenfreihafen.org>2012-12-19 09:28:02 +0000
commit8d956c8e9963ad9971bfd5ad332f33abfff072c3 (patch)
tree8547d3768cb2ab42f5d11929966ea6458f255f95 /src/lib/evas/common/language
parent3032a8554ce64c4d6df9b6d8e24f96a147845c43 (diff)
efl/evas_bidi: Fix memleak.
Make sure we also free udelmin when we retrun from from the for loop early. SVN revision: 81334
Diffstat (limited to 'src/lib/evas/common/language')
-rw-r--r--src/lib/evas/common/language/evas_bidi_utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/evas/common/language/evas_bidi_utils.c b/src/lib/evas/common/language/evas_bidi_utils.c
index 8ad70ac000..0d02d2ed63 100644
--- a/src/lib/evas/common/language/evas_bidi_utils.c
+++ b/src/lib/evas/common/language/evas_bidi_utils.c
@@ -182,6 +182,7 @@ evas_bidi_segment_idxs_get(const Eina_Unicode *str, const char *delim)
182 if (!tmp_ret) 182 if (!tmp_ret)
183 { 183 {
184 free(ret); 184 free(ret);
185 free(udelim);
185 return NULL; 186 return NULL;
186 } 187 }
187 ret = tmp_ret; 188 ret = tmp_ret;