projects
/
platform
/
core
/
uifw
/
e-mod-tizen-wl-textinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b09caec
)
Fix resource leak issue detected by static analysis tool
80/295480/1
author
Jihoon Kim
<jihoon48.kim@samsung.com>
Mon, 10 Jul 2023 02:32:49 +0000
(11:32 +0900)
committer
Jihoon Kim
<jihoon48.kim@samsung.com>
Mon, 10 Jul 2023 02:32:49 +0000
(11:32 +0900)
Change-Id: Id4fe17c18883c67fa0f8982981047fb1aba49c8b
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/e_mod_main.c
patch
|
blob
|
history
diff --git
a/src/e_mod_main.c
b/src/e_mod_main.c
index
274ca33
..
db4203c
100644
(file)
--- a/
src/e_mod_main.c
+++ b/
src/e_mod_main.c
@@
-692,6
+692,8
@@
feed_key_event(const char *keyname, const char *key, const char *string, int key
E_Input_Event_Source *input_event_source = e_input_event_source_get();
if (input_event_source)
e_input_event_add(input_event_source, state ? ECORE_EVENT_KEY_DOWN : ECORE_EVENT_KEY_UP, e, _e_keyevent_free, NULL);
+ else
+ _e_keyevent_free(NULL, e);
}
}