summaryrefslogtreecommitdiff
path: root/lib/smbconf/smbconf_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/smbconf/smbconf_util.c')
-rw-r--r--lib/smbconf/smbconf_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/smbconf/smbconf_util.c b/lib/smbconf/smbconf_util.c
index 5eb5e963ed..b309a3454b 100644
--- a/lib/smbconf/smbconf_util.c
+++ b/lib/smbconf/smbconf_util.c
@@ -49,7 +49,7 @@ WERROR smbconf_init_internal(TALLOC_CTX *mem_ctx, struct smbconf_ctx **conf_ctx,
return WERR_INVALID_PARAM;
}
- ctx = TALLOC_ZERO_P(mem_ctx, struct smbconf_ctx);
+ ctx = talloc_zero(mem_ctx, struct smbconf_ctx);
if (ctx == NULL) {
return WERR_NOMEM;
}
@@ -86,7 +86,7 @@ WERROR smbconf_add_string_to_array(TALLOC_CTX *mem_ctx,
return WERR_INVALID_PARAM;
}
- new_array = TALLOC_REALLOC_ARRAY(mem_ctx, *array, char *, count + 1);
+ new_array = talloc_realloc(mem_ctx, *array, char *, count + 1);
if (new_array == NULL) {
return WERR_NOMEM;
}