git.samba.org
/
obnox
/
samba-ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13e25b5
)
s3:libsmbconf: use talloc_free instead of TALLOC_FREE in smbconf_util.c
author
Michael Adam
<obnox@samba.org>
Wed, 21 Jan 2009 16:11:02 +0000
(17:11 +0100)
committer
Michael Adam
<obnox@samba.org>
Thu, 19 Mar 2009 17:03:53 +0000
(18:03 +0100)
Michael
Signed-off-by: Michael Adam <obnox@samba.org>
source/lib/smbconf/smbconf_util.c
patch
|
blob
|
history
diff --git
a/source/lib/smbconf/smbconf_util.c
b/source/lib/smbconf/smbconf_util.c
index 271fc47dd447a8caabdbd10360178db1db2ca07f..5eb5e963ed9279d36287b84b1009d9905f355eab 100644
(file)
--- 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;
}
}