[Samba] [PATCH] printing patch update

Jerome Borsboom j.borsboom at erasmusmc.nl
Mon Jan 10 14:15:56 GMT 2005


In reviewing the recent printing-3-0-10_v2 patch, I think I have 
found an omitted 'release_print_db'. The following patch 
corrects this.

Regards,

Jerome Borsboom

--- samba-3.0.10/source/printing/printing.c	2005-01-10 15:07:27.060999122 +0100
+++ samba-3.0.10.new/source/printing/printing.c	2005-01-10 15:07:36.784464292 +0100
@@ -1077,6 +1077,7 @@
 
 	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;
 	}
 



More information about the samba mailing list