diff --git a/source3/utils/net_rpc_conf.c b/source3/utils/net_rpc_conf.c index 4e2118d1c10..8c5717c519d 100644 --- a/source3/utils/net_rpc_conf.c +++ b/source3/utils/net_rpc_conf.c @@ -1084,6 +1084,7 @@ static NTSTATUS rpc_conf_drop_internal(struct net_context *c, goto error; } + ZERO_STRUCT(wkey); wkey.name = keyname; ZERO_STRUCT(wkeyclass); wkeyclass.name = "";