summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/registry/reg_backend_rpc/reg_backend_rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/reg_backend_rpc/reg_backend_rpc.c b/source4/lib/registry/reg_backend_rpc/reg_backend_rpc.c
index af3a6ac214..74b25884d6 100644
--- a/source4/lib/registry/reg_backend_rpc/reg_backend_rpc.c
+++ b/source4/lib/registry/reg_backend_rpc/reg_backend_rpc.c
@@ -321,11 +321,11 @@ static WERROR rpc_query_key(REG_KEY *k)
struct rpc_data *mydata = k->handle->backend_data;
struct rpc_key_data *mykeydata;
- r.in.handle = &mykeydata->pol;
init_winreg_String(&r.in.class, NULL);
error = rpc_key_put_rpc_data(k, &mykeydata);
if(!W_ERROR_IS_OK(error)) return error;
+ r.in.handle = &mykeydata->pol;
status = dcerpc_winreg_QueryInfoKey(mydata->pipe, k->mem_ctx, &r);