summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-05-22 16:22:38 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:25 -0500
commit029cf10ff839cb4dde25ce1eeb27f24fc637ed28 (patch)
treed7abf18cdd07dacd2bd3bf9632eca74eb5bfd3f8 /source4/lib
parent73da6bf6dad7e047fbadf22a04b2f62d22ede4bf (diff)
downloadsamba-029cf10ff839cb4dde25ce1eeb27f24fc637ed28.tar.gz
samba-029cf10ff839cb4dde25ce1eeb27f24fc637ed28.tar.bz2
samba-029cf10ff839cb4dde25ce1eeb27f24fc637ed28.zip
r15807: Fix incorrect initialization. Very nice catch by the IBM Checker.
(This used to be commit 2b65c490e40241fb4d4f938a867e33780295ad05)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/registry/common/reg_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/common/reg_util.c b/source4/lib/registry/common/reg_util.c
index da18102d1f..3d0cdf5a6a 100644
--- a/source4/lib/registry/common/reg_util.c
+++ b/source4/lib/registry/common/reg_util.c
@@ -122,7 +122,7 @@ _PUBLIC_ BOOL reg_string_to_val(TALLOC_CTX *mem_ctx, const char *type_str, const
break;
case REG_NONE:
- ZERO_STRUCT(data);
+ ZERO_STRUCTP(data);
break;
case REG_BINARY: