summaryrefslogtreecommitdiff
path: root/source3/lib/util_reg_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/util_reg_api.c')
-rw-r--r--source3/lib/util_reg_api.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/util_reg_api.c b/source3/lib/util_reg_api.c
index 7150444cf6..65a74b845d 100644
--- a/source3/lib/util_reg_api.c
+++ b/source3/lib/util_reg_api.c
@@ -109,7 +109,7 @@ WERROR registry_pull_value(TALLOC_CTX *mem_ctx,
blob = data_blob_const(data, length);
- if (!pull_reg_multi_sz(mem_ctx, &blob, &vals)) {
+ if (!pull_reg_multi_sz(mem_ctx, NULL, &blob, &vals)) {
err = WERR_NOMEM;
goto error;
}
@@ -155,7 +155,7 @@ WERROR registry_push_value(TALLOC_CTX *mem_ctx,
}
case REG_SZ:
case REG_EXPAND_SZ: {
- if (!push_reg_sz(mem_ctx, presult, value->v.sz.str))
+ if (!push_reg_sz(mem_ctx, NULL, presult, value->v.sz.str))
{
return WERR_NOMEM;
}
@@ -177,7 +177,7 @@ WERROR registry_push_value(TALLOC_CTX *mem_ctx,
}
array[i] = NULL;
- if (!push_reg_multi_sz(mem_ctx, presult, array)) {
+ if (!push_reg_multi_sz(mem_ctx, NULL, presult, array)) {
talloc_free(array);
return WERR_NOMEM;
}