this isn't an inline function, so it should have a safety check
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 2 Mar 2012 03:04:57 +0000 (03:04 +0000)
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 2 Mar 2012 03:04:57 +0000 (03:04 +0000)
SVN revision: 68614

legacy/eio/src/lib/eio_monitor.c

index cca093c..cee7a37 100644 (file)
@@ -225,6 +225,7 @@ eio_monitor_del(Eio_Monitor *monitor)
 EAPI const char *
 eio_monitor_path_get(Eio_Monitor *monitor)
 {
+   EINA_SAFETY_ON_NULL_RETURN_VAL(monitor, NULL);
    return monitor->path;
 }