Logo Search packages:      
Sourcecode: madman version File versions  Download package

void apetag_free ( apetag mem_cnt  ) 

free all work

Parameters:
mem_cnt object apetag

Definition at line 574 of file apetaglib.c.

References _ape_mem_cnt::countTag, tag::name, _ape_mem_cnt::tag, and tag::value.

{
    int n;
    
    for (n = mem_cnt->countTag-1; n >= 0; n--)
    {
        free (mem_cnt->tag[n]->value);
        free (mem_cnt->tag[n]->name);
        free (mem_cnt->tag[n]);
    }
    free (mem_cnt->tag);
    free (mem_cnt);
    mem_cnt = NULL;
    
    return;

}


Generated by  Doxygen 1.6.0   Back to index