http://bugs.winehq.org/show_bug.cgi?id=59110 Bug ID: 59110 Summary: Memory leak in lookup_unix_name Product: Wine Version: 11.0-rc1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@list.winehq.org Reporter: dlehman25@gmail.com Distribution: --- Created attachment 79916 --> http://bugs.winehq.org/attachment.cgi?id=79916 sample demo lookup_unix_name leaks memory. valgrind crashes but easy to demonstrate without it without local fix, the attached sample settles around 9mb: $ ps -o pid,rss,comm -p $(pgrep a.exe) PID RSS COMMAND 228399 9116 a.exe a larger loop variable leaks more with local fix at https://gitlab.winehq.org/dlehman25/wine/-/tree/lookup-leak, it settles around 6mb: $ ps -o pid,rss,comm -p $(pgrep a.exe) PID RSS COMMAND 229172 6048 a.exe a larger loop variable doesn't grow the memory -- 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.