1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

s3-spoolss: Removed the last free_a_printer() call in spoolss_nt.c.

Signed-off-by: Jim McDonough <jmcd@samba.org>
This commit is contained in:
Andreas Schneider 2010-05-10 16:44:47 +02:00 committed by Simo Sorce
parent c26bfd228d
commit 395dcbd111
2 changed files with 2 additions and 3 deletions

View File

@ -193,8 +193,8 @@ typedef struct _Printer{
/* devmode sent in the OpenPrinter() call */
struct spoolss_DeviceMode *devmode;
/* cache the printer info */
NT_PRINTER_INFO_LEVEL *printer_info;
/* TODO cache the printer info2 structure */
struct spoolss_PrinterInfo2 *info2;
} Printer_entry;

View File

@ -224,7 +224,6 @@ static int printer_entry_destructor(Printer_entry *Printer)
Printer->notify.client_connected = false;
TALLOC_FREE(Printer->devmode);
free_a_printer( &Printer->printer_info, 2 );
/* Remove from the internal list. */
DLIST_REMOVE(printers_list, Printer);