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
https://bugs.winehq.org/show_bug.cgi?id=44611
Zhiyi Zhang yi.gd.cn@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |yi.gd.cn@gmail.com
--- Comment #1 from Zhiyi Zhang yi.gd.cn@gmail.com --- Thanks for the bug reports. Memory leaks confirmed.
Are you sure many elementary school students are learning programming by reading the src of wine or you are just using a bug report template? :p
https://bugs.winehq.org/show_bug.cgi?id=44611
--- Comment #2 from Fan gang fan.gang.cn@gmail.com --- (In reply to Zhiyi Zhang from comment #1)
Thanks for the bug reports. Memory leaks confirmed.
Are you sure many elementary school students are learning programming by reading the src of wine or you are just using a bug report template? :p
LOL. Just want to give people more motivation to fix it~~.