projects
/
platform
/
core
/
uifw
/
e-mod-tizen-screen-reader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc5d3cb
)
Remove memory leak possibility
75/139275/1
accepted/tizen/unified/20170721.201720
submit/tizen/20170721.005824
author
Shinwoo Kim
<cinoo.kim@samsung.com>
Tue, 18 Jul 2017 07:28:23 +0000
(16:28 +0900)
committer
Shinwoo Kim
<cinoo.kim@samsung.com>
Tue, 18 Jul 2017 07:29:31 +0000
(16:29 +0900)
Change-Id: I9c9ebb825c5a93a82e840e3ba14dd67684e75dc4
src/e_screen_reader_gestures.c
patch
|
blob
|
history
diff --git
a/src/e_screen_reader_gestures.c
b/src/e_screen_reader_gestures.c
index
8925ce2
..
014181c
100644
(file)
--- a/
src/e_screen_reader_gestures.c
+++ b/
src/e_screen_reader_gestures.c
@@
-528,6
+528,7
@@
end:
if (!(event2 = malloc(sizeof(Ecore_Event_Mouse_Button))))
{
DBG("NOT ENOUGH MEMORY");
+ free(event1);
return ;
}
memcpy(event2, ev, sizeof(Ecore_Event_Mouse_Button));