http://bugs.winehq.org/show_bug.cgi?id=21045
Summary: Memory leak in SECUR32_addPackages Product: Wine Version: 1.1.34 Platform: PC URL: http://build.chromium.org/buildbot/waterfall.fyi/build ers/Chromium%20Linux%20Wine%20(valgrind)/builds/65/ste ps/wine%20valgrind%20test%3A%20net_unittests/logs/stdi o OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: secur32 AssignedTo: wine-bugs@winehq.org ReportedBy: thestig@google.com CC: dank@kegel.com
From http://build.chromium.org/buildbot/waterfall.fyi/builders/Chromium%20Linux%2..., I see:
32 bytes in 1 blocks are definitely lost in loss record 282 of 1,093 at 0x470FC2A: RtlAllocateHeap (heap.c:247) by 0x4E13293: SECUR32_addPackages (secur32.c:463) by 0x4E0C74D: SECUR32_initNegotiateSP (negotiate.c:465) by 0x4E1343F: DllMain (secur32.c:564) by 0x4E17D52: __wine_spec_dll_entry (dll_entry.c:40) by 0x4710694: ??? (in /usr/local/wine-1.1.34/lib/wine/ntdll.dll.so) by 0x4712799: MODULE_InitDLL (loader.c:982) by 0x4712E17: process_attach (loader.c:1071) by 0x4712DDF: process_attach (loader.c:1063) by 0x4712F91: attach_process_dlls (loader.c:2441) by 0x402B73C: ??? (in /usr/local/wine-1.1.34/lib/libwine.so.1.0)
It looks as though the SecurePackage* allocated in SECUR32_addPackages() never gets freed? I'll send a patch.
http://bugs.winehq.org/show_bug.cgi?id=21045
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #1 from Juan Lang juan_lang@yahoo.com 2009-12-17 14:10:00 --- Looks to be fixed by commit c89211336b9e4309d18819f241e0f77ff882a56e.
http://bugs.winehq.org/show_bug.cgi?id=21045
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org 2009-12-18 13:08:24 --- Closing bugs fixed in 1.1.35.