diff options
author | Günther Deschner <gd@samba.org> | 2010-04-27 17:55:55 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-04-27 17:55:55 +0200 |
commit | 03a9ac4e2bb28620c773104f4b3dd23798b7146c (patch) | |
tree | 4d40783648561668bdc32a53cb04ed77257a3cf9 /source3 | |
parent | b764145ac8523f6e44d22adfef1bcd6cecbbed48 (diff) | |
download | samba-03a9ac4e2bb28620c773104f4b3dd23798b7146c.tar.gz samba-03a9ac4e2bb28620c773104f4b3dd23798b7146c.tar.bz2 samba-03a9ac4e2bb28620c773104f4b3dd23798b7146c.zip |
s3-spoolss: fix some uninitialized variables.
Guenther
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/srv_spoolss_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_spoolss_util.c b/source3/rpc_server/srv_spoolss_util.c index 1035b20b2f..a0dc1289d4 100644 --- a/source3/rpc_server/srv_spoolss_util.c +++ b/source3/rpc_server/srv_spoolss_util.c @@ -1368,7 +1368,7 @@ WERROR winreg_create_printer(TALLOC_CTX *mem_ctx, struct rpc_pipe_client *winreg_pipe = NULL; struct policy_handle hive_hnd, key_hnd; struct spoolss_SetPrinterInfo2 *info2; - struct spoolss_DeviceMode *devmode; + struct spoolss_DeviceMode *devmode = NULL; struct security_descriptor *secdesc; struct winreg_String wkey, wkeyclass; const char *path; @@ -3324,7 +3324,7 @@ WERROR winreg_add_driver(TALLOC_CTX *mem_ctx, struct rpc_pipe_client *winreg_pipe = NULL; struct policy_handle hive_hnd, key_hnd; struct spoolss_DriverInfo8 info8; - TALLOC_CTX *tmp_ctx; + TALLOC_CTX *tmp_ctx = NULL; WERROR result; ZERO_STRUCT(hive_hnd); |