Fix cabextract memory leak.

This commit is contained in:
James Hawkins 2004-12-02 17:55:41 +00:00 committed by Alexandre Julliard
parent 612b4dc968
commit 513d5087b4
1 changed files with 2 additions and 0 deletions

View File

@ -736,6 +736,8 @@ struct Ziphuft **t, cab_LONG *m, cab_decomp_state *decomp_state)
/* backup over finished tables */
while ((i & ((1 << w) - 1)) != ZIP(x)[h])
w -= l[--h]; /* don't need to update q */
free(q);
}
}