summaryrefslogtreecommitdiff
path: root/source3/rpc_parse/parse_spoolss.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-06-02 18:38:49 +0000
committerJeremy Allison <jra@samba.org>2000-06-02 18:38:49 +0000
commit01c4ecd2343a4c87a0f023cd58382bf08610304e (patch)
tree2a92cc775386161f9d93bbe0e6d4bcf6ff355b59 /source3/rpc_parse/parse_spoolss.c
parent8ff6458a3e568e759969fd1a9c827c4b47008cfb (diff)
downloadsamba-01c4ecd2343a4c87a0f023cd58382bf08610304e.tar.gz
samba-01c4ecd2343a4c87a0f023cd58382bf08610304e.tar.bz2
samba-01c4ecd2343a4c87a0f023cd58382bf08610304e.zip
Fixed null pointer indirect in addprinterex. Still working on problem
with extra directory layer in NT drivers. Jeremy. (This used to be commit 48a80318269c832e702678237e86ba55c10444f1)
Diffstat (limited to 'source3/rpc_parse/parse_spoolss.c')
-rw-r--r--source3/rpc_parse/parse_spoolss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_parse/parse_spoolss.c b/source3/rpc_parse/parse_spoolss.c
index 5ed7ce2460..e81f0c286f 100644
--- a/source3/rpc_parse/parse_spoolss.c
+++ b/source3/rpc_parse/parse_spoolss.c
@@ -3705,7 +3705,7 @@ void free_spool_printer_driver_info_level_3(SPOOL_PRINTER_DRIVER_INFO_LEVEL_3 **
free_buffer5(&il->dependentfiles);
- safe_free(q_u);
+ safe_free(il);
}
/*******************************************************************
@@ -3857,7 +3857,7 @@ void free_spool_printer_driver_info_level_6(SPOOL_PRINTER_DRIVER_INFO_LEVEL_6 **
free_buffer5(&il->dependentfiles);
free_buffer5(&il->previousnames);
- safe_free(q_u);
+ safe_free(il);
}