mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
r20602: Fix coverity ID 339. SMB_ASSERT does not panic without -DDEVELOPER.
Volker
This commit is contained in:
parent
e4a2e63272
commit
33b5950bec
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user