diff options
-rw-r--r-- | source3/include/nt_printing.h | 4 | ||||
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/source3/include/nt_printing.h b/source3/include/nt_printing.h index 5a1eb00489..34fb65892d 100644 --- a/source3/include/nt_printing.h +++ b/source3/include/nt_printing.h @@ -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; diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 154d72efbb..a8f5b2cb58 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -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); |