Avoid freeing fsp twice when opening new_file fails. (Debian #431696)
commit08459e1a7325cb19a26049bec1614a5296c2fd42
authorJelmer Vernooij <jelmer@samba.org>
Mon, 29 Sep 2008 17:53:36 +0000 (29 10:53 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 9 Dec 2008 10:22:11 +0000 (9 11:22 +0100)
tree6f3996413b666fcfc41c87f43c91d4035698fc47
parent51aaec5bd8b66336d711d7523da34d77f2a5bd76
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.
(cherry picked from commit f75b53f85cbccc4b37db4c9adc0df81a06898d38)
(cherry picked from commit 7c9a7cb8682156ffb39382a44e3abf40408bff63)
source/printing/nt_printing.c