1
0
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:
Volker Lendecke 2007-01-08 08:00:53 +00:00 committed by Gerald (Jerry) Carter
parent e4a2e63272
commit 33b5950bec

View File

@ -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);