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:
4b31aa2
)
Revert "EFL memory leak on Windows(handler continuously increasing)"
08/81608/1
author
WooHyun Jung
<wh0705.jung@samsung.com>
Wed, 27 Jul 2016 08:28:31 +0000
(17:28 +0900)
committer
WooHyun Jung
<wh0705.jung@samsung.com>
Wed, 27 Jul 2016 08:28:52 +0000
(17:28 +0900)
This reverts commit
1023e016221b3338afbd46f30c56a78fc225d9f6
.
Change-Id: Icf242ad281f3f747dc8df8ed91659bef33a5c20f
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
f9cbab7
..
66b4c7f
100644
(file)
--- a/
src/lib/ecore/ecore_main.c
+++ b/
src/lib/ecore/ecore_main.c
@@
-2290,8
+2290,9
@@
_ecore_main_win32_select(int nfds EINA_UNUSED,
if (timeout == 0)
{
- res = 0;
- goto err;
+ free(objects);
+ free(sockets);
+ return 0;
}
result = _ecore_main_win32_objects_wait(objects_nbr,
@@
-2387,7
+2388,6
@@
_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]);