[Bug 44611] New: Memory leak in [wrc.c:574]
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(a)winehq.org Reporter: fan.gang.cn(a)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 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44611 Zhiyi Zhang <yi.gd.cn(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yi.gd.cn(a)gmail.com --- Comment #1 from Zhiyi Zhang <yi.gd.cn(a)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 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44611 --- Comment #2 from Fan gang <fan.gang.cn(a)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~~. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org