https://bugs.winehq.org/show_bug.cgi?id=44611
Bug ID: 44611 Summary: Memory leak in [wrc.c:574] 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 60599 --> https://bugs.winehq.org/attachment.cgi?id=60599 The sourcebrella-pinpoint screenshot of a memory leak defect.
We find a memory leak defect in the file tools/wrc/wrc.c. I've uploaded a screenshot of the leak trace.
I know this leak occurs in the main function, but I think it is better to free it before the program terminates. You know many elementary school students are learning programming by reading the src of wine. It is necessary to show them what is a better practice.
Gang Sourcebrella