summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Hirt <daniel.hirt@samsung.com>2016-06-30 19:39:29 +0000
committerDaniel Hirt <daniel.hirt@samsung.com>2016-07-03 17:10:56 +0000
commiteaee2413487c9ca31744cd3de4dc498189c7926c (patch)
tree2c2bfd367d785ae19a0e944262904676d7a16023 /src
parent2be6c6b81716fdb4b6e32a092c4ccd07891d9edf (diff)
Ui text: fix leak in selection_changed
Diffstat (limited to 'src')
-rw-r--r--src/lib/elementary/efl_ui_text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_text.c b/src/lib/elementary/efl_ui_text.c
index ed6b7f1..87f1236 100644
--- 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)
6024 } 6024 }
6025 _edje_signal_emit(sd, "selection,changed", "elm.text"); 6025 _edje_signal_emit(sd, "selection,changed", "elm.text");
6026 sd->have_selection = EINA_TRUE; 6026 sd->have_selection = EINA_TRUE;
6027 free(text);
6028 } 6027 }
6028 if (text) free(text);
6029 sd->deferred_decoration_selection = EINA_TRUE; 6029 sd->deferred_decoration_selection = EINA_TRUE;
6030 _decoration_defer(data); 6030 _decoration_defer(data);
6031} 6031}