summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@samba.org>2012-02-08 13:45:40 +0100
committerDavid Disseldorp <ddiss@samba.org>2012-06-26 16:10:39 +0200
commit97073589d03f8ea4b871c58cfc86603909568da2 (patch)
treec3dce36e93f3752a6274997b1cbea7d980aaa5ac /source3
parent1cd2433e8d632f979811b136e0bf31f07d1c1da7 (diff)
downloadsamba-97073589d03f8ea4b871c58cfc86603909568da2.tar.gz
samba-97073589d03f8ea4b871c58cfc86603909568da2.tar.bz2
samba-97073589d03f8ea4b871c58cfc86603909568da2.zip
s3-printing: fix potential print db refcount leak
Diffstat (limited to 'source3')
-rw-r--r--source3/printing/printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index ef5e035924..3e9fa469c5 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -827,8 +827,8 @@ static bool pjob_store(struct tevent_context *ev,
}
}
- release_print_db(pdb);
done:
+ release_print_db(pdb);
SAFE_FREE( old_data.dptr );
SAFE_FREE( buf );