diff options
author | Andreas Schneider <asn@samba.org> | 2010-05-10 16:44:47 +0200 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2010-07-27 10:27:11 -0400 |
commit | 395dcbd111fd531324eb3e77940756e448a22024 (patch) | |
tree | 5b8cb54a244216095a473775672717353f5320fc /source3 | |
parent | c26bfd228de962b70ba744fd9dc9ca62ecca1470 (diff) | |
download | samba-395dcbd111fd531324eb3e77940756e448a22024.tar.gz samba-395dcbd111fd531324eb3e77940756e448a22024.tar.bz2 samba-395dcbd111fd531324eb3e77940756e448a22024.zip |
s3-spoolss: Removed the last free_a_printer() call in spoolss_nt.c.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Diffstat (limited to 'source3')
-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); |