diff options
author | Volker Lendecke <vl@samba.org> | 2008-10-09 16:27:49 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-10-13 19:32:38 +0200 |
commit | c530009401f111bc62008a2a75cdad5b9d5ee7d1 (patch) | |
tree | 6390031d8b5372f7329bdecacf8f985ac0559b62 /source3/printing/printfsp.c | |
parent | c3fedcddd5e79c60f5fcc0219752c27277a4d9f7 (diff) | |
download | samba-c530009401f111bc62008a2a75cdad5b9d5ee7d1.tar.gz samba-c530009401f111bc62008a2a75cdad5b9d5ee7d1.tar.bz2 samba-c530009401f111bc62008a2a75cdad5b9d5ee7d1.zip |
Pass struct smb_request to file_free
on the way to get rid of chain_fsp
Diffstat (limited to 'source3/printing/printfsp.c')
-rw-r--r-- | source3/printing/printfsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/printfsp.c b/source3/printing/printfsp.c index 02122e8a6b..a247cd8427 100644 --- a/source3/printing/printfsp.c +++ b/source3/printing/printfsp.c @@ -53,7 +53,7 @@ NTSTATUS print_fsp_open(struct smb_request *req, connection_struct *conn, jobid = print_job_start(conn->server_info, SNUM(conn), name, NULL); if (jobid == -1) { status = map_nt_error_from_unix(errno); - file_free(fsp); + file_free(req, fsp); return status; } @@ -62,7 +62,7 @@ NTSTATUS print_fsp_open(struct smb_request *req, connection_struct *conn, if (fsp->rap_print_jobid == 0) { /* We need to delete the entry in the tdb. */ pjob_delete(lp_const_servicename(SNUM(conn)), jobid); - file_free(fsp); + file_free(req, fsp); return NT_STATUS_ACCESS_DENIED; /* No errno around here */ } |