summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-08-02 08:48:01 +0000
committerJeremy Allison <jra@samba.org>2003-08-02 08:48:01 +0000
commitb925d197f5c1829f7bb8c18de2557c0ccc2d94a9 (patch)
treee27777e977d850cf59b51b1bac6fa577520ed234 /source3/smbd
parent9482f14b2cb6df0672853c1ba758152ff634ecea (diff)
downloadsamba-b925d197f5c1829f7bb8c18de2557c0ccc2d94a9.tar.gz
samba-b925d197f5c1829f7bb8c18de2557c0ccc2d94a9.tar.bz2
samba-b925d197f5c1829f7bb8c18de2557c0ccc2d94a9.zip
Ensure we don't leak any sign records on cancel of pending requests.
Jeremy. (This used to be commit 9a8ffc239c0f1aada713de7e9e007066738d8874)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/notify.c1
-rw-r--r--source3/smbd/nttrans.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c
index e7903719ad..9adf827c79 100644
--- a/source3/smbd/notify.c
+++ b/source3/smbd/notify.c
@@ -44,6 +44,7 @@ static struct change_notify *change_notify_list;
/****************************************************************************
Setup the common parts of the return packet and send it.
*****************************************************************************/
+
static void change_notify_reply_packet(char *inbuf, NTSTATUS error_code)
{
char outbuf[smb_size+38];
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index 1506877aff..3ffa6efa77 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -1443,6 +1443,7 @@ int reply_ntcancel(connection_struct *conn,
START_PROFILE(SMBntcancel);
remove_pending_change_notify_requests_by_mid(mid);
remove_pending_lock_requests_by_mid(mid);
+ srv_cancel_sign_response(mid);
DEBUG(3,("reply_ntcancel: cancel called on mid = %d.\n", mid));