git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f75b53f
)
Ensure we null out fsp after a close in all paths.
author
Jeremy Allison
<jra@samba.org>
Mon, 29 Sep 2008 17:57:32 +0000
(10:57 -0700)
committer
Jeremy Allison
<jra@samba.org>
Mon, 29 Sep 2008 17:57:32 +0000
(10:57 -0700)
Jeremy.
source/printing/nt_printing.c
patch
|
blob
|
history
diff --git
a/source/printing/nt_printing.c
b/source/printing/nt_printing.c
index 2c3769330591f3cd9c2d43bdd6327c9834190af7..0468769f9ba20e9568973d9a091c374b8f7e877e 100644
(file)
--- a/
source/printing/nt_printing.c
+++ b/
source/printing/nt_printing.c
@@
-1420,6
+1420,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 */