[PATCH 2/2] msi: Implement an allocation list for the condition parser. This list keeps track of all allocations we make in the parser and frees those allocations should the parser choke up on a syntax error.
James Hawkins
truiken at gmail.com
Thu Dec 17 22:00:55 CST 2009
As it stands, our tests only hit one of these errors that causes a
leak, but it's possible, and tests should be added for these cases, to
hit a syntax error on all the paths that allocate data.
---
dlls/msi/cond.y | 164 +++++++++++++++++++++++++++++++++++++++++++++----------
1 files changed, 134 insertions(+), 30 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-msi-Implement-an-allocation-list-for-the-condition-p.patch
Type: text/x-patch
Size: 10348 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20091217/6815c839/attachment.bin>
More information about the wine-patches
mailing list