[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-3054-gf75b53f

Jeremy Allison jra at samba.org
Mon Sep 29 17:54:28 GMT 2008


The branch, v3-2-test has been updated
       via  f75b53f85cbccc4b37db4c9adc0df81a06898d38 (commit)
      from  503d1c0226fb38c21b14fe1deac11b0ec461b4d0 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit f75b53f85cbccc4b37db4c9adc0df81a06898d38
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Mon Sep 29 10:53:36 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 a66b1e5..2c37693 100644
--- a/source/printing/nt_printing.c
+++ b/source/printing/nt_printing.c
@@ -1379,6 +1379,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