mmdevapi/tests: Fix wrong buffer unit and memory leaks.

Joerg-Cyril.Hoehle at t-systems.com Joerg-Cyril.Hoehle at t-systems.com
Mon Jun 6 02:54:44 CDT 2011


Hi,

* nBlockAlign is wrong since data is counted in frames, not bytes.

CoTaskMemFree was missing after GetMixFormat.  However, I doubt that
corresponds to the Valgrind leaks mentioned in bug #26135.  What I
know for sure is that there are other small leaks, e.g. GetMixFormat
is called internally by mmdevapi:devenum.c:set_format, and some not
related to GetMixFormat.
I'm wondering why Austin's bug report doesn't list them.

Regards,
 Jörg Höhle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-mmdevapi-tests-Fix-wrong-buffer-unit-and-memory-lea.patch
Type: application/octet-stream
Size: 1949 bytes
Desc: 0001-mmdevapi-tests-Fix-wrong-buffer-unit-and-memory-lea.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110606/65a22f16/attachment.obj>


More information about the wine-patches mailing list