http://bugs.winehq.org/show_bug.cgi?id=21553
Summary: ntdll reporting freed block to valgrind twice? Product: Wine Version: 1.1.37 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: ntdll AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
http://kegel.com/wine/valgrind/logs/2010-01-29-20.52/diff-avifil32_api.txt shows Invalid free() / delete / delete[] at notify_free (heap.c:262) by subheap_notify_free_all (heap.c:286) by RtlDestroyHeap (heap.c:1608) by HeapDestroy (heap.c:164) I've got a funny feeling that the block was reported freed once in RtlFreeHeap at line 1747, and again in subheap_notify_free_all at line 286. Maybe line 286 should be surrounded by if (pArena->magic != ARENA_PENDING_MAGIC).