From 2b65c490e40241fb4d4f938a867e33780295ad05 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 22 May 2006 16:22:38 +0000 Subject: [PATCH] r15807: Fix incorrect initialization. Very nice catch by the IBM Checker. --- source/lib/registry/common/reg_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/lib/registry/common/reg_util.c b/source/lib/registry/common/reg_util.c index da18102d1fe..3d0cdf5a6ac 100644 --- a/source/lib/registry/common/reg_util.c +++ b/source/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: