summaryrefslogtreecommitdiff
path: root/source3/smbd/notify.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/notify.c')
-rw-r--r--source3/smbd/notify.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c
index bcd8fcb0ab..6bedb17261 100644
--- a/source3/smbd/notify.c
+++ b/source3/smbd/notify.c
@@ -219,7 +219,10 @@ static void change_notify_remove_request(struct notify_change_request *remove_re
break;
}
}
- SMB_ASSERT(req != NULL);
+
+ if (req == NULL) {
+ smb_panic("notify_req not found in fsp's requests\n");
+ }
DLIST_REMOVE(fsp->notify->requests, req);
DLIST_REMOVE(notify_changes_by_mid, req->mid_map);