diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-22 21:34:54 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-22 22:31:06 +0100 |
commit | e690c0776fa4d3a475e9291c243be6141d54b4d4 (patch) | |
tree | 6dd49463a822369b105d501eadd434dc9429c89f /source4/lib | |
parent | 0c10703c756117ad1a8c9e911157cd9ca81f0f70 (diff) | |
download | samba-e690c0776fa4d3a475e9291c243be6141d54b4d4.tar.gz samba-e690c0776fa4d3a475e9291c243be6141d54b4d4.tar.bz2 samba-e690c0776fa4d3a475e9291c243be6141d54b4d4.zip |
s4:registry - "util.c" - initialise "result" in "reg_key_add_abs"
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/registry/util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/registry/util.c b/source4/lib/registry/util.c index 47568b135e..91d1095f4c 100644 --- a/source4/lib/registry/util.c +++ b/source4/lib/registry/util.c @@ -265,6 +265,8 @@ WERROR reg_key_add_abs(TALLOC_CTX *mem_ctx, struct registry_context *ctx, char *n; WERROR error; + *result = NULL; + if (!strchr(path, '\\')) { return WERR_ALREADY_EXISTS; } |