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:
fbd831f
)
Revert "Revert "EFL memory leak on Windows(handler continuously increasing)""
19/82319/1
author
WooHyun Jung
<wh0705.jung@samsung.com>
Wed, 3 Aug 2016 00:59:05 +0000
(09:59 +0900)
committer
WooHyun Jung
<wh0705.jung@samsung.com>
Wed, 3 Aug 2016 00:59:11 +0000
(09:59 +0900)
This reverts commit
fdc30160227b90cfcab8de1b3d96bce133f5e19a
.
Change-Id: I26af17f43f8ec60aba39a3d0ff33e580ea9a96b4
Signed-off-by: WooHyun Jung <wh0705.jung@samsung.com>
src/lib/ecore/ecore_main.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore/ecore_main.c
b/src/lib/ecore/ecore_main.c
index
406a311
..
8b5928c
100644
(file)
--- a/
src/lib/ecore/ecore_main.c
+++ b/
src/lib/ecore/ecore_main.c
@@
-2292,9
+2292,8
@@
_ecore_main_win32_select(int nfds EINA_UNUSED,
if (timeout == 0)
{
- free(objects);
- free(sockets);
- return 0;
+ res = 0;
+ goto err;
}
result = _ecore_main_win32_objects_wait(objects_nbr,
@@
-2390,6
+2389,7
@@
_ecore_main_win32_select(int nfds EINA_UNUSED,
res = -1;
}
+err :
/* Remove event objects again */
for (i = 0; i < events_nbr; i++) WSACloseEvent(objects[i]);