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:
2be6c6b
)
Ui text: fix leak in selection_changed
author
Daniel Hirt
<daniel.hirt@samsung.com>
Thu, 30 Jun 2016 19:39:29 +0000
(19:39 +0000)
committer
Daniel Hirt
<daniel.hirt@samsung.com>
Sun, 3 Jul 2016 17:10:56 +0000
(17:10 +0000)
src/lib/elementary/efl_ui_text.c
patch
|
blob
|
history
diff --git
a/src/lib/elementary/efl_ui_text.c
b/src/lib/elementary/efl_ui_text.c
index
ed6b7f1
..
87f1236
100644
(file)
--- a/
src/lib/elementary/efl_ui_text.c
+++ b/
src/lib/elementary/efl_ui_text.c
@@
-6024,8
+6024,8
@@
_efl_ui_text_selection_changed_cb(void *data, const Eo_Event *event EINA_UNUSED)
}
_edje_signal_emit(sd, "selection,changed", "elm.text");
sd->have_selection = EINA_TRUE;
- free(text);
}
+ if (text) free(text);
sd->deferred_decoration_selection = EINA_TRUE;
_decoration_defer(data);
}