summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/smbconf/smbconf_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/smbconf/smbconf_util.c b/source3/lib/smbconf/smbconf_util.c
index 271fc47dd4..5eb5e963ed 100644
--- a/source3/lib/smbconf/smbconf_util.c
+++ b/source3/lib/smbconf/smbconf_util.c
@@ -67,7 +67,7 @@ WERROR smbconf_init_internal(TALLOC_CTX *mem_ctx, struct smbconf_ctx **conf_ctx,
return werr;
fail:
- TALLOC_FREE(ctx);
+ talloc_free(ctx);
return werr;
}
@@ -96,7 +96,7 @@ WERROR smbconf_add_string_to_array(TALLOC_CTX *mem_ctx,
} else {
new_array[count] = talloc_strdup(new_array, string);
if (new_array[count] == NULL) {
- TALLOC_FREE(new_array);
+ talloc_free(new_array);
return WERR_NOMEM;
}
}