summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-10-22 22:44:04 +0200
committerGünther Deschner <gd@samba.org>2008-10-22 22:45:04 +0200
commit0f898718372d2a6c4d650c40562ac8fd117f1fab (patch)
treea64cbeefdeca1bcc1d994da1e0911ccc738e54c5 /source3
parentf53578daf4f5591f47fbe0e3effc50c5bdaffd3b (diff)
downloadsamba-0f898718372d2a6c4d650c40562ac8fd117f1fab.tar.gz
samba-0f898718372d2a6c4d650c40562ac8fd117f1fab.tar.bz2
samba-0f898718372d2a6c4d650c40562ac8fd117f1fab.zip
s3-build: fix the build.
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/spnego.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/spnego.c b/source3/libsmb/spnego.c
index b2197eb71b..72559cdeae 100644
--- a/source3/libsmb/spnego.c
+++ b/source3/libsmb/spnego.c
@@ -46,7 +46,7 @@ static bool read_negTokenInit(ASN1_DATA *asn1, negTokenInit_t *token)
0 < asn1_tag_remaining(asn1); i++) {
const char *p_oid = NULL;
token->mechTypes =
- TALLOC_REALLOC_ARRAY(token->mechTypes, const char *, i + 2);
+ TALLOC_REALLOC_ARRAY(NULL, token->mechTypes, const char *, i + 2);
if (!token->mechTypes) {
asn1->has_error = True;
return False;
@@ -90,7 +90,7 @@ static bool read_negTokenInit(ASN1_DATA *asn1, negTokenInit_t *token)
token->mechListMIC =
data_blob(mechListMIC, strlen(mechListMIC));
- TALLO_FREE(mechListMIC);
+ TALLOC_FREE(mechListMIC);
}
asn1_end_tag(asn1);
break;