summaryrefslogtreecommitdiff
path: root/src/lib/ecore_ipc
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-12-24 09:35:56 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-12-24 09:35:56 +0000
commitb2de05f49a5b064952a224b22d1bb6a9093c4b3b (patch)
tree7520ead6fa7829bbb2cae47d9847025a0bdbfe71 /src/lib/ecore_ipc
parentf5a98df8ded2946c21464b45068845208bf67c4a (diff)
all efl object deletion functions now take NULL without crashing or erroring
SVN revision: 81667
Diffstat (limited to 'src/lib/ecore_ipc')
-rw-r--r--src/lib/ecore_ipc/ecore_ipc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ecore_ipc/ecore_ipc.c b/src/lib/ecore_ipc/ecore_ipc.c
index 2953bf0eac..6b5310f968 100644
--- a/src/lib/ecore_ipc/ecore_ipc.c
+++ b/src/lib/ecore_ipc/ecore_ipc.c
@@ -458,6 +458,7 @@ ecore_ipc_server_del(Ecore_Ipc_Server *svr)
458{ 458{
459 void *data; 459 void *data;
460 460
461 if (!svr) return NULL;
461 if (!ECORE_MAGIC_CHECK(svr, ECORE_MAGIC_IPC_SERVER)) 462 if (!ECORE_MAGIC_CHECK(svr, ECORE_MAGIC_IPC_SERVER))
462 { 463 {
463 ECORE_MAGIC_FAIL(svr, ECORE_MAGIC_IPC_SERVER, 464 ECORE_MAGIC_FAIL(svr, ECORE_MAGIC_IPC_SERVER,
@@ -874,6 +875,7 @@ ecore_ipc_client_del(Ecore_Ipc_Client *cl)
874 void *data; 875 void *data;
875 Ecore_Ipc_Server *svr; 876 Ecore_Ipc_Server *svr;
876 877
878 if (!cl) return NULL;
877 if (!ECORE_MAGIC_CHECK(cl, ECORE_MAGIC_IPC_CLIENT)) 879 if (!ECORE_MAGIC_CHECK(cl, ECORE_MAGIC_IPC_CLIENT))
878 { 880 {
879 ECORE_MAGIC_FAIL(cl, ECORE_MAGIC_IPC_CLIENT, 881 ECORE_MAGIC_FAIL(cl, ECORE_MAGIC_IPC_CLIENT,