https://bugs.winehq.org/show_bug.cgi?id=44607
Bug ID: 44607 Summary: Memory leak in [parser.c:519] Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: tools Assignee: wine-bugs@winehq.org Reporter: fan.gang.cn@gmail.com Distribution: ---
Created attachment 60595 --> https://bugs.winehq.org/attachment.cgi?id=60595 The sourcebrella-pinpoint screenshot of a memory leak defect.
We find a memory leak defect in the file tools/winebuild/parser.c. I've uploaded a screenshot of the leak trace.
It looks like a developer frees this memory on line 486 but forget to do the same thing on line 479 when an error occurs.
Gang Sourcebrella