summaryrefslogtreecommitdiff
path: root/src/lib/ecore_file
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_file
parentf5a98df8ded2946c21464b45068845208bf67c4a (diff)
all efl object deletion functions now take NULL without crashing or erroring
SVN revision: 81667
Diffstat (limited to 'src/lib/ecore_file')
-rw-r--r--src/lib/ecore_file/ecore_file_monitor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ecore_file/ecore_file_monitor.c b/src/lib/ecore_file/ecore_file_monitor.c
index 6b6fb32349..c7e5e8a3af 100644
--- a/src/lib/ecore_file/ecore_file_monitor.c
+++ b/src/lib/ecore_file/ecore_file_monitor.c
@@ -67,6 +67,7 @@ ecore_file_monitor_add(const char *path,
67EAPI void 67EAPI void
68ecore_file_monitor_del(Ecore_File_Monitor *em) 68ecore_file_monitor_del(Ecore_File_Monitor *em)
69{ 69{
70 if (!em) return;
70 EINA_SAFETY_ON_NULL_RETURN(em); 71 EINA_SAFETY_ON_NULL_RETURN(em);
71 ecore_file_monitor_backend_del(em); 72 ecore_file_monitor_backend_del(em);
72} 73}