[Bug 21045] New: Memory leak in SECUR32_addPackages
wine-bugs at winehq.org
wine-bugs at winehq.org
Wed Dec 16 18:56:02 CST 2009
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 at winehq.org
ReportedBy: thestig at google.com
CC: dank at kegel.com
From
http://build.chromium.org/buildbot/waterfall.fyi/builders/Chromium%20Linux%20Wine%20(valgrind)/builds/65/steps/wine%20valgrind%20test%3A%20net_unittests/logs/stdio,
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.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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.
More information about the wine-bugs
mailing list