hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=d5f66885ac3d9851abe394121f94eb7ed5f3d031

commit d5f66885ac3d9851abe394121f94eb7ed5f3d031
Author: ChunEon Park <her...@hermet.pe.kr>
Date:   Fri Jul 10 23:46:24 2015 +0900

    indent: free memory correctly.
---
 src/lib/indent.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/lib/indent.c b/src/lib/indent.c
index c4bb087..de64bca 100644
--- a/src/lib/indent.c
+++ b/src/lib/indent.c
@@ -103,7 +103,11 @@ indent_insert_bracket_case(indent_data *id, Evas_Object 
*entry, int cur_line)
      }
 
    int space = indent_space_get(id, entry);
-   if (space == len) return;
+   if (space == len)
+     {
+        free(utf8);
+        return;
+     }
 
    int i = 0;
    if (len > space)

-- 


Reply via email to