r3323: more warning reductions
[bbaumbach/samba-autobuild/.git] / source4 / libcli / auth / spnego_parse.c
index 07dba61ddefaf04ab585a2bc68665a29cd0172a2..12d3d05734868163a116f8a0d4ef11bdd182564e 100644 (file)
@@ -349,10 +349,6 @@ BOOL spnego_free_data(struct spnego_data *spnego)
        switch(spnego->type) {
        case SPNEGO_NEG_TOKEN_INIT:
                if (spnego->negTokenInit.mechTypes) {
-                       int i;
-                       for (i = 0; spnego->negTokenInit.mechTypes[i]; i++) {
-                               talloc_free(spnego->negTokenInit.mechTypes[i]);
-                       }
                        talloc_free(spnego->negTokenInit.mechTypes);
                }
                data_blob_free(&spnego->negTokenInit.mechToken);