summaryrefslogtreecommitdiffstats
path: root/source/printing
diff options
context:
space:
mode:
authorKarolin Seeger <kseeger@samba.org>2008-11-17 14:02:54 +0100
committerKarolin Seeger <kseeger@samba.org>2008-11-17 14:02:54 +0100
commitbae0e060b0605679d273404b0d8f5f68f9b9501e (patch)
treef83db49d8d4c4b997ed32975e8d98aedd0bad743 /source/printing
parentdc10e3a5eda3bbc6f41fb8fd7bfcbcb91c49bb78 (diff)
downloadsamba-bae0e060b0605679d273404b0d8f5f68f9b9501e.tar.gz
samba-bae0e060b0605679d273404b0d8f5f68f9b9501e.tar.xz
samba-bae0e060b0605679d273404b0d8f5f68f9b9501e.zip
Revert "Avoid freeing fsp twice when opening new_file fails. (Debian #431696)"
This reverts commit 7c9a7cb8682156ffb39382a44e3abf40408bff63.
Diffstat (limited to 'source/printing')
-rw-r--r--source/printing/nt_printing.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/printing/nt_printing.c b/source/printing/nt_printing.c
index 2c376933059..a66b1e5c5f6 100644
--- a/source/printing/nt_printing.c
+++ b/source/printing/nt_printing.c
@@ -1379,7 +1379,6 @@ static int file_version_is_newer(connection_struct *conn, fstring new_file, fstr
}
}
close_file(fsp, NORMAL_CLOSE);
- fsp = NULL;
/* Get file version info (if available) for new file */
filepath = driver_unix_convert(conn,new_file,&stat_buf);