https://bugs.winehq.org/show_bug.cgi?id=44606
Bug ID: 44606 Summary: Memory leak in [import.c:367] 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 60594 --> https://bugs.winehq.org/attachment.cgi?id=60594 The sourcebrella-pinpoint screenshot of a memory leak defect.
We find a memory leak defect in the file tools/winebuild/import.c. I've uploaded a screenshot of the leak trace.
The memory stored to dll_name is not freed anywhere in this function (add_static_import_dll has not freed this memory, it allocated its own string buffer instead. ).
Gang Sourcebrella