Avoid freeing fsp twice when opening new_file fails. (Debian #431696)
commit3d21d7fc44e528bb27350bb373755241cb46e57c
authorJelmer Vernooij <jelmer@samba.org>
Mon, 29 Sep 2008 17:53:17 +0000 (29 10:53 -0700)
committerKarolin Seeger <kseeger@samba.org>
Wed, 1 Oct 2008 06:27:51 +0000 (1 08:27 +0200)
tree4bdc9cd69c77b3be4128338292fe377378c3eaf3
parentb381e23c5498f37208772ac1357b272ad931c92a
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 bc0a340c61198879dc10ccbcc3c3ceb7f358b270)
source/printing/nt_printing.c