FreeRTOS-Plus/ThirdParty/WolfSSL-FIPS-Ready/wolfcrypt/src/asn.c
/* Free the whole Trusted Peer linked list */
Free the whole Trusted Peer linked list
Free the whole Trusted Peer linked list
void FreeTrustedPeerTable(TrustedPeerCert** table, int rows, void* heap)
{
    int i;
    for (i = 0; i < rows; i++) {
        TrustedPeerCert* tp = table[i];
        while (tp) {
            TrustedPeerCert* next = tp->next;
            FreeTrustedPeer(tp, heap);
            tp = next;
        }
        table[i] = NULL;
    }
}
void FreeTrustedPeerTable ( TrustedPeerCert * * table , int rows , void * heap ) { int i ; for ( i = 0 ; i < rows ; i ++ ) { TrustedPeerCert * tp = table [ i ] ; while ( tp ) { TrustedPeerCert * next = tp -> next ; FreeTrustedPeer ( tp , heap ) ; tp = next ; } table [ i ] = NULL ; } }
Free the whole Trusted Peer linked list
Free the whole Trusted Peer linked list