Free some strucs

This commit is contained in:
atxr 2024-02-23 18:01:15 +01:00
parent e4d37542bb
commit a38b5d4ec4
4 changed files with 17 additions and 0 deletions

View file

@ -27,6 +27,7 @@ void print_huffman_tree(tree t);
tree build_tree(char* bit_lengths, int size);
tree build_default_tree();
tree build_default_dist_tree();
void free_tree(tree t);
int next_token(bitstream* bs, tree t);

View file

@ -94,6 +94,8 @@ typedef struct zip
} zip;
zip init_zip(char* data, int size);
void free_zip(zip z);
void get_eocd(zip* out);
void get_cdh(zip* out);