]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3-build: fix the build.
authorGünther Deschner <gd@samba.org>
Wed, 22 Oct 2008 20:44:04 +0000 (22:44 +0200)
committerGünther Deschner <gd@samba.org>
Wed, 22 Oct 2008 20:45:04 +0000 (22:45 +0200)
Guenther

source3/libsmb/spnego.c

index b2197eb71b880a914174ff42ac3e70ca55584f53..72559cdeae254353c6a9864d514c12aeee36f70b 100644 (file)
@@ -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;