projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f127fe
)
Canvas text: Fix idiotic memory leak.
author
Tom Hacohen
<tom@stosb.com>
Fri, 17 Jun 2016 08:02:23 +0000
(09:02 +0100)
committer
Tom Hacohen
<tom@stosb.com>
Fri, 17 Jun 2016 08:02:43 +0000
(09:02 +0100)
Thanks to vtorri for reporting.
src/lib/evas/canvas/evas_object_textblock.c
patch
|
blob
|
history
diff --git
a/src/lib/evas/canvas/evas_object_textblock.c
b/src/lib/evas/canvas/evas_object_textblock.c
index
2b422bd
..
c27b0d8
100644
(file)
--- 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);