notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
git subrepo pull (merge) --force deps/libchdr
[pcsx_rearmed.git]
/
deps
/
libchdr
/
src
/
libchdr_huffman.c
diff --git
a/deps/libchdr/src/libchdr_huffman.c
b/deps/libchdr/src/libchdr_huffman.c
index
5162b95
..
556aa34
100644
(file)
--- a/
deps/libchdr/src/libchdr_huffman.c
+++ b/
deps/libchdr/src/libchdr_huffman.c
@@
-295,6
+295,9
@@
enum huffman_error huffman_import_tree_huffman(struct huffman_decoder* decoder,
}
}
+ /* make sure we free the local huffman decoder */
+ delete_huffman_decoder(smallhuff);
+
/* make sure we ended up with the right number */
if (curcode != decoder->numcodes)
return HUFFERR_INVALID_DATA;