notify: check for valid notify_ctx in notify_remove
commit098b8a5110b4e1b873196032098807b7922e232c
authorRalph Boehme <slow@samba.org>
Tue, 11 Aug 2015 14:49:46 +0000 (11 16:49 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 31 Aug 2015 10:50:13 +0000 (31 12:50 +0200)
treeff19130ee18a33e26347312f178d493e44d7ae9c
parentc3647ec39e42e8dcdd3057dbab49918c2ccf5e9a
notify: check for valid notify_ctx in notify_remove

notify_ctx will be NULL when "change notify = no" is set in smb.conf.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=11444

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/notify_msg.c