Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
[bbaumbach/samba-autobuild/.git] / source4 / ntvfs / sysdep / sys_notify.c
index c628b9068cb8d31510dab9d48ba0dc629166f6bd..9770323c3fa0ec343b9aed4f72098ede9b9cb1a1 100644 (file)
@@ -51,7 +51,7 @@ _PUBLIC_ struct sys_notify_context *sys_notify_context_create(struct share_confi
        }
 
        if (ev == NULL) {
-               ev = event_context_find(mem_ctx);
+               return NULL;
        }
 
        ctx = talloc_zero(mem_ctx, struct sys_notify_context);