summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-01-11 01:39:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:50 -0500
commit57e3af57fd9707156e9e5f18f6cb6095360cd51f (patch)
treeecf7041c68ded61d9dc5f198286117ad3bfd6500 /source3/printing
parentbd22606da04bffd3b4966c17ad2c98e6dc8b5e35 (diff)
downloadsamba-57e3af57fd9707156e9e5f18f6cb6095360cd51f.tar.gz
samba-57e3af57fd9707156e9e5f18f6cb6095360cd51f.tar.bz2
samba-57e3af57fd9707156e9e5f18f6cb6095360cd51f.zip
r4662: Fix from "Jerome Borsboom" <j.borsboom@erasmusmc.nl> to fix
missing release reference for printer tdb. Jeremy. (This used to be commit 5942bb7737fe8efc452d59cda0d6e35e309c97b7)
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/printing.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index 67b9b9f22a..b4d0f3a44b 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -1077,6 +1077,7 @@ static void print_queue_update_internal( const char *sharename,
if ( !print_cache_expired(sharename, False) ) {
DEBUG(5,("print_queue_update_internal: print cache for %s is still ok\n", sharename));
+ release_print_db(pdb);
return;
}