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:
parent
c26bfd228d
commit
395dcbd111
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user