http://bugs.winehq.org/show_bug.cgi?id=26050
--- Comment #3 from Jörg Höhle hoehle@users.sourceforge.net 2011-02-25 09:13:09 CST --- I've just updated the Wiki about confused Valgrind logs because of unloaded dynamic libraries.
Here's a snippet that makes perfect sense after commenting out FreeLibrary. Actually it's one I mentioned in bug #20232, comment #12:
16 bytes in 1 blocks are definitely lost at RtlAllocateHeap (heap.c:254) by WAVE_mciOpenFile (mciwave.c:289) by MCIWAVE_DriverProc (mciwave.c:1452) by SendDriverMessage (driver.c:136) by MCI_SendCommandFrom32 (mci.c:892) by mciSendStringW (mci.c:1544) by mciSendStringA (mci.c:1590) by test_recordWAVE (mci.c:746) by func_mci (mci.c:1267)