summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHannes Janetzek <hannes.janetzek@gmail.com>2012-12-22 01:56:10 +0000
committerHannes Janetzek <hannes.janetzek@gmail.com>2012-12-22 01:56:10 +0000
commit55f2e872010fbb539282fc26088f9a37ec36462a (patch)
tree6f922eac6803ecfc05d466d764b6b6e59ce0d7f2 /src
parent0809c7de3fdd302f311e12378adeacd6d02a9037 (diff)
fix crash in eio_monitor_del
SVN revision: 81630
Diffstat (limited to 'src')
-rw-r--r--src/lib/eio/eio_monitor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/eio/eio_monitor.c b/src/lib/eio/eio_monitor.c
index 0b4df98945..36c8b1d8f2 100644
--- a/src/lib/eio/eio_monitor.c
+++ b/src/lib/eio/eio_monitor.c
@@ -339,6 +339,7 @@ eio_monitor_stringshared_add(const char *path)
339EAPI void 339EAPI void
340eio_monitor_del(Eio_Monitor *monitor) 340eio_monitor_del(Eio_Monitor *monitor)
341{ 341{
342 if (!monitor) return;
342 EINA_REFCOUNT_UNREF(monitor) 343 EINA_REFCOUNT_UNREF(monitor)
343 _eio_monitor_free(monitor); 344 _eio_monitor_free(monitor);
344} 345}