void destroyGonzaloCompressedPsi(GonzaloCompressedPsi *compressedPsi) { //free(compressedPsi->Hlen.s.spos); //free(compressedPsi->Hacc.s.spos); freeHuff(compressedPsi->Hlen); freeHuff(compressedPsi->Hacc); free(compressedPsi->cPsi); free(compressedPsi->bposS); }
Huffman::~Huffman() { freeHuff(huff_table); if (tree != NULL) deleteNode(tree); }
Huffman::~Huffman() { freeHuff(huff_table); }
void destroyHuffmanCompressedPsi(HuffmanCompressedPsi *compressedPsi) { freeHuff(compressedPsi->diffsHT); free(compressedPsi->samples); free(compressedPsi->samplePointers); free (compressedPsi->stream); }