diff options
author | Jeremy Allison <jra@samba.org> | 2000-06-07 01:49:23 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-06-07 01:49:23 +0000 |
commit | 0164047afbd082b0003147845a72ca08b4781b81 (patch) | |
tree | 97d07fd0749d687d0838efc2464520b7489128ed /source3/rpc_server | |
parent | d253db1b9a10644940650cc802feb2a509adbaed (diff) | |
download | samba-0164047afbd082b0003147845a72ca08b4781b81.tar.gz samba-0164047afbd082b0003147845a72ca08b4781b81.tar.bz2 samba-0164047afbd082b0003147845a72ca08b4781b81.zip |
Fixing get/set of security descriptors.
Removed ugly hack for NT printing.
Fixed up tdb parse stuff memory leaks.
Jeremy.
(This used to be commit 8ef41f31c53e14ad057d883810a1cd2301fede2a)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index b341dbe12a..e3552c3879 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -1971,6 +1971,8 @@ static BOOL construct_printer_info_3(fstring servername, DEBUG(0,("construct_printer_info_3: malloc fail.\n")); return False; } + + ZERO_STRUCTP(printer); printer->flags = 4; /* This is the offset to the SEC_DESC. */ if (ntprinter->info_2->secdesc_buf->len != 0) { |