summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/notify_internal.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/notify_internal.c b/source3/smbd/notify_internal.c
index ddf8160cb0..f3d874daf9 100644
--- a/source3/smbd/notify_internal.c
+++ b/source3/smbd/notify_internal.c
@@ -649,6 +649,10 @@ void notify_trigger(struct notify_context *notify,
}
}
+ if (idx_state.vnns == NULL) {
+ goto done;
+ }
+
ctdbd_conn = messaging_ctdbd_connection();
if (ctdbd_conn == NULL) {
goto done;