http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
612b4dc
)
Fix cabextract memory leak.
author
James Hawkins
<truiken@gmail.com>
Thu, 2 Dec 2004 17:55:41 +0000
(17:55 +0000)
committer
Alexandre Julliard
<julliard@winehq.org>
Thu, 2 Dec 2004 17:55:41 +0000
(17:55 +0000)
dlls/cabinet/cabextract.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/cabinet/cabextract.c
b/dlls/cabinet/cabextract.c
index 646a8680d593fef72ee7a53d3306a0d2ad460ac3..1309ef5ba810f139c680b9fb089d67b5c8bf5e68 100644
(file)
--- a/
dlls/cabinet/cabextract.c
+++ b/
dlls/cabinet/cabextract.c
@@
-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);
}
}