git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
519277f
)
Fix uninitalized variables
author
Volker Lendecke
<vl@samba.org>
Sat, 29 Dec 2007 15:35:51 +0000
(16:35 +0100)
committer
Volker Lendecke
<vl@samba.org>
Sat, 29 Dec 2007 15:41:31 +0000
(16:41 +0100)
(This used to be commit
2322fe718728178990fdc3696b84f5de7ae7701b
)
source3/libnet/libnet_conf.c
patch
|
blob
|
history
diff --git
a/source3/libnet/libnet_conf.c
b/source3/libnet/libnet_conf.c
index 99fde86adc2e5ee831898239a90d38b58994013c..23b9131bae1fe064fac65e4a5a8478a1b4ff4be7 100644
(file)
--- a/
source3/libnet/libnet_conf.c
+++ b/
source3/libnet/libnet_conf.c
@@
-276,7
+276,7
@@
static WERROR libnet_smbconf_reg_get_values(TALLOC_CTX *mem_ctx,
char ***value_names,
char ***value_strings)
{
- TALLOC_CTX *tmp_ctx;
+ TALLOC_CTX *tmp_ctx
= NULL
;
WERROR werr = WERR_OK;
uint32_t count;
struct registry_value *valvalue = NULL;
@@
-391,7
+391,7
@@
WERROR libnet_smbconf_get_share_names(TALLOC_CTX *mem_ctx, uint32_t *num_shares,
char ***share_names)
{
uint32_t count;
- TALLOC_CTX *tmp_ctx;
+ TALLOC_CTX *tmp_ctx
= NULL
;
WERROR werr = WERR_OK;
struct registry_key *key = NULL;
char *subkey_name = NULL;