[SCM] Samba Shared Repository - branch v3-3-test updated -
release-3-2-0pre2-4191-gbc0a340
Jeremy Allison
jra at samba.org
Mon Sep 29 17:55:11 GMT 2008
The branch, v3-3-test has been updated
via bc0a340c61198879dc10ccbcc3c3ceb7f358b270 (commit)
from c96dd7196606f53f60aff34b9358881fdd9d9f20 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test
- Log -----------------------------------------------------------------
commit bc0a340c61198879dc10ccbcc3c3ceb7f358b270
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Sep 29 10:53:17 2008 -0700
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:
source/printing/nt_printing.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/printing/nt_printing.c b/source/printing/nt_printing.c
index ded985c..a3b3a10 100644
--- a/source/printing/nt_printing.c
+++ b/source/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