summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_spoolss_nt.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-10-03 18:29:12 +0000
committerJeremy Allison <jra@samba.org>2000-10-03 18:29:12 +0000
commitc5ca95aeb1202c64bf37c8031c83d5c59c990ce3 (patch)
tree3ffaadf6c5fcc198d11ff8ecd0d91df9700bd658 /source3/rpc_server/srv_spoolss_nt.c
parent3ad2ee22bb4ecee24d069bb7efadff18c25044d1 (diff)
downloadsamba-c5ca95aeb1202c64bf37c8031c83d5c59c990ce3.tar.gz
samba-c5ca95aeb1202c64bf37c8031c83d5c59c990ce3.tar.bz2
samba-c5ca95aeb1202c64bf37c8031c83d5c59c990ce3.zip
Fixes from Herb - compiler warnings.
Jeremy. (This used to be commit d9d3668fa322cbed36ca3393d8268bf0e5255e8d)
Diffstat (limited to 'source3/rpc_server/srv_spoolss_nt.c')
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index 6e222b2386..717ee1bed1 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -3096,7 +3096,7 @@ static uint32 getprinterdriver2_level6(fstring servername, fstring architecture,
*needed += spoolss_size_printer_driver_info_6(&info);
if (!alloc_buffer_size(buffer, *needed)) {
- free_printer_driver_info_3(&info);
+ free_printer_driver_info_6(&info);
return ERROR_INSUFFICIENT_BUFFER;
}