summaryrefslogtreecommitdiff
path: root/source3/registry/reg_objects.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/registry/reg_objects.c')
-rw-r--r--source3/registry/reg_objects.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/registry/reg_objects.c b/source3/registry/reg_objects.c
index 5bc7cd705b..a1d085b586 100644
--- a/source3/registry/reg_objects.c
+++ b/source3/registry/reg_objects.c
@@ -498,7 +498,7 @@ int regval_ctr_addvalue_sz(struct regval_ctr *ctr, const char *name, const char
{
DATA_BLOB blob;
- if (!push_reg_sz(ctr, NULL, &blob, data)) {
+ if (!push_reg_sz(ctr, &blob, data)) {
return -1;
}
@@ -515,7 +515,7 @@ int regval_ctr_addvalue_multi_sz(struct regval_ctr *ctr, const char *name, const
{
DATA_BLOB blob;
- if (!push_reg_multi_sz(ctr, NULL, &blob, data)) {
+ if (!push_reg_multi_sz(ctr, &blob, data)) {
return -1;
}
@@ -608,7 +608,7 @@ const char *regval_sz(struct regval_blob *val)
const char *data = NULL;
DATA_BLOB blob = data_blob_const(regval_data_p(val), regval_size(val));
- pull_reg_sz(talloc_tos(), NULL, &blob, &data);
+ pull_reg_sz(talloc_tos(), &blob, &data);
return data;
}