git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c94fd05
)
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>
Wed, 21 Jan 2009 17:40:55 +0000
(18:40 +0100)
Michael
source3/lib/smbconf/smbconf_util.c
patch
|
blob
|
history
diff --git
a/source3/lib/smbconf/smbconf_util.c
b/source3/lib/smbconf/smbconf_util.c
index 271fc47dd447a8caabdbd10360178db1db2ca07f..5eb5e963ed9279d36287b84b1009d9905f355eab 100644
(file)
--- 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;
}
}