diff options
-rw-r--r-- | source3/smbd/reply.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 0c0d647f71..70d5537e04 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -4953,6 +4953,7 @@ void reply_printopen(struct smb_request *req) status = print_fsp_open(req, conn, NULL, req->vuid, fsp, &sbuf); if (!NT_STATUS_IS_OK(status)) { + file_free(req, fsp); reply_nterror(req, status); END_PROFILE(SMBsplopen); return; |