The branch, v3-3-test has been updated
       via  35a074c24b9b320bb23e82d3f44e17c5fadbcf62 (commit)
      from  bc0a340c61198879dc10ccbcc3c3ceb7f358b270 (commit)

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


- Log -----------------------------------------------------------------
commit 35a074c24b9b320bb23e82d3f44e17c5fadbcf62
Author: Jeremy Allison <[EMAIL PROTECTED]>
Date:   Mon Sep 29 10:56:54 2008 -0700

    Ensure we null out fsp after a close in all paths.
    Jeremy.

-----------------------------------------------------------------------

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 a3b3a10..19c44d1 100644
--- a/source/printing/nt_printing.c
+++ b/source/printing/nt_printing.c
@@ -1418,6 +1418,7 @@ static int file_version_is_newer(connection_struct *conn, 
fstring new_file, fstr
                }
        }
        close_file(fsp, NORMAL_CLOSE);
+       fsp = NULL;
 
        if (use_version && (new_major != old_major || new_minor != old_minor)) {
                /* Compare versions and choose the larger version number */


-- 
Samba Shared Repository

Reply via email to