From 395dcbd111fd531324eb3e77940756e448a22024 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 10 May 2010 16:44:47 +0200 Subject: s3-spoolss: Removed the last free_a_printer() call in spoolss_nt.c. Signed-off-by: Jim McDonough --- source3/include/nt_printing.h | 4 ++-- 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); -- cgit