projects
/
framework
/
uifw
/
ecore.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30c5c5a
)
ecore_ipc_shutdown modified for prevent potential risk
author
Jeonghyun Yun
<jh0506.yun@samsung.com>
Mon, 13 Feb 2012 10:44:01 +0000
(
05:44
-0500)
committer
Jeonghyun Yun
<jh0506.yun@samsung.com>
Mon, 13 Feb 2012 10:44:01 +0000
(
05:44
-0500)
src/lib/ecore_ipc/ecore_ipc.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_ipc/ecore_ipc.c
b/src/lib/ecore_ipc/ecore_ipc.c
index
c17cadd
..
7797736
100644
(file)
--- a/
src/lib/ecore_ipc/ecore_ipc.c
+++ b/
src/lib/ecore_ipc/ecore_ipc.c
@@
-316,7
+316,10
@@
ecore_ipc_shutdown(void)
if (--_ecore_ipc_init_count != 0)
return _ecore_ipc_init_count;
- while (servers) ecore_ipc_server_del(eina_list_data_get(servers));
+ Eina_List *l, *l2;
+ Ecore_Ipc_Server *svr;
+ EINA_LIST_FOREACH_SAFE(servers, l, l2, svr)
+ ecore_ipc_server_del(svr);
for (i = 0; i < 6; i++)
ecore_event_handler_del(handler[i]);