summaryrefslogtreecommitdiff
path: root/source3/lib/smbconf
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-01-21 17:11:02 +0100
committerMichael Adam <obnox@samba.org>2009-01-21 18:40:55 +0100
commit53ea5742554f1a7064e5836df5d05ea2632b3088 (patch)
tree9cf2a274cba0fdc97a1fffea984f733b9602ee98 /source3/lib/smbconf
parentc94fd054ca441f7ef6ea04dd268f495ec4884569 (diff)
downloadsamba-53ea5742554f1a7064e5836df5d05ea2632b3088.tar.gz
samba-53ea5742554f1a7064e5836df5d05ea2632b3088.tar.bz2
samba-53ea5742554f1a7064e5836df5d05ea2632b3088.zip
s3:libsmbconf: use talloc_free instead of TALLOC_FREE in smbconf_util.c
Michael
Diffstat (limited to 'source3/lib/smbconf')
-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;
}
}