[SCM] Samba Shared Repository - branch master updated -
55e201b0a1b24e328b718b78ab8fa926bcc9e90b
Jelmer Vernooij
jelmer at samba.org
Mon Sep 29 17:11:31 GMT 2008
The branch, master has been updated
via 55e201b0a1b24e328b718b78ab8fa926bcc9e90b (commit)
from 0ee4d20adb21d2e4491ca0cbfe3c031cb89fde92 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 55e201b0a1b24e328b718b78ab8fa926bcc9e90b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Sep 29 19:09:53 2008 +0200
Avoid freeing fsp twice when opening new_file fails. (Debian #431696)
If opening new_file fails, fsp would still be set to the files_struct of
old_file.
-----------------------------------------------------------------------
Summary of changes:
source3/printing/nt_printing.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index ded985c..a3b3a10 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -1377,6 +1377,7 @@ 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);
--
Samba Shared Repository
More information about the samba-cvs
mailing list