Пример #1
0
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);
}
Пример #2
0
    Huffman::~Huffman() {
        freeHuff(huff_table);

        if (tree != NULL) deleteNode(tree);
    }
Пример #3
0
 Huffman::~Huffman() {
     freeHuff(huff_table);
 }
Пример #4
0
void destroyHuffmanCompressedPsi(HuffmanCompressedPsi *compressedPsi) {
	freeHuff(compressedPsi->diffsHT);
	free(compressedPsi->samples);
	free(compressedPsi->samplePointers);
	free (compressedPsi->stream);
}