summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/inflate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/inflate.c b/lib/inflate.c
index eab886baa1b4..5b1e70d0ce8c 100644
--- a/lib/inflate.c
+++ b/lib/inflate.c
@@ -811,6 +811,8 @@ DEBG("<fix");
/* decompress until an end-of-block code */
if (inflate_codes(tl, td, bl, bd)) {
+ huft_free(tl);
+ huft_free(td);
free(l);
return 1;
}