summaryrefslogtreecommitdiff
path: root/source/lib/smbconf/smbconf_util.c
diff options
context:
space:
mode:
authorbubulle <bubulle@alioth.debian.org>2009-04-02 15:54:13 +0000
committerbubulle <bubulle@alioth.debian.org>2009-04-02 15:54:13 +0000
commitbf9afdb5c20707c5af271cbdfd98f0bb60180eb1 (patch)
treef72e29d251d990358e3a080aa35c801104fa54ba /source/lib/smbconf/smbconf_util.c
parentfe09995a9ad2d43523063725462194c7b39a3ce9 (diff)
downloadsamba-bf9afdb5c20707c5af271cbdfd98f0bb60180eb1.tar.gz
merge upstream 3.3.3
git-svn-id: svn://svn.debian.org/svn/pkg-samba/trunk/samba@2683 fc4039ab-9d04-0410-8cac-899223bdd6b0
Diffstat (limited to 'source/lib/smbconf/smbconf_util.c')
-rw-r--r--source/lib/smbconf/smbconf_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/lib/smbconf/smbconf_util.c b/source/lib/smbconf/smbconf_util.c
index 271fc47dd4..5eb5e963ed 100644
--- a/source/lib/smbconf/smbconf_util.c
+++ b/source/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;
}
}