tasn pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=132e89bb4601c5d920f066c40d7da5a7b2e05e63

commit 132e89bb4601c5d920f066c40d7da5a7b2e05e63
Author: Tom Hacohen <[email protected]>
Date:   Fri Jun 17 09:02:23 2016 +0100

    Canvas text: Fix idiotic memory leak.
    
    Thanks to vtorri for reporting.
---
 src/lib/evas/canvas/evas_object_textblock.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/lib/evas/canvas/evas_object_textblock.c 
b/src/lib/evas/canvas/evas_object_textblock.c
index 2b422bd..c27b0d8 100644
--- a/src/lib/evas/canvas/evas_object_textblock.c
+++ b/src/lib/evas/canvas/evas_object_textblock.c
@@ -9767,7 +9767,6 @@ _cursor_text_append(Eo *eo_obj, 
Efl_Canvas_Text_Cursor_Data *cur, const char *_t
    Evas_Object_Protected_Data *obj = eo_data_scope_get(eo_obj, 
EVAS_OBJECT_CLASS);
    Efl_Canvas_Text_Data *o = eo_data_scope_get(eo_obj, MY_CLASS);
    evas_object_async_block(obj);
-   text = eina_unicode_utf8_to_unicode(_text, &len);
    orig_text = text = eina_unicode_utf8_to_unicode(_text, &len);
    Efl_Canvas_Text_Cursor_Data *ocur = eo_data_scope_get(o->cursor, 
EFL_CANVAS_TEXT_CURSOR_CLASS);
 

-- 


Reply via email to