summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Alzyod <ali198724@gmail.com>2020-01-12 17:04:12 +0000
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-01-13 12:50:57 +0100
commitb2829634fcca60b39c63d7b620cb1ae331b5f602 (patch)
tree5e2148f1f8a9ce5237670b3ba5e1cda262117027
parent66c485d232bc2952d473fd7c877c952588a17ce6 (diff)
efl.ui.textbox: use efl_del with efl_duplicate
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11069
-rw-r--r--src/lib/elementary/efl_ui_internal_text_interactive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_internal_text_interactive.c b/src/lib/elementary/efl_ui_internal_text_interactive.c
index 35c6ad2eef..a5768cc74b 100644
--- a/src/lib/elementary/efl_ui_internal_text_interactive.c
+++ b/src/lib/elementary/efl_ui_internal_text_interactive.c
@@ -927,7 +927,7 @@ _delete_emit(Eo *obj, Efl_Text_Cursor *c, Efl_Ui_Internal_Text_Interactive_Data
927 } 927 }
928 efl_text_cursor_move(cur, EFL_TEXT_CURSOR_MOVE_TYPE_CHAR_PREV); 928 efl_text_cursor_move(cur, EFL_TEXT_CURSOR_MOVE_TYPE_CHAR_PREV);
929 } 929 }
930 efl_unref(cur); 930 efl_del(cur);
931 cur = NULL; 931 cur = NULL;
932 932
933 Efl_Text_Change_Info info = { NULL, 0, 0, 0, 0 }; 933 Efl_Text_Change_Info info = { NULL, 0, 0, 0, 0 };