dsound: don't free buffer if it's owned by alsa
Dan Kegel
dank at kegel.com
Fri Jun 6 07:02:18 CDT 2008
This fixes the repeatable double free reported in
http://bugs.winehq.org/show_bug.cgi?id=13723
Found via Valgrind. Thanks to Maarten for suggesting
how to decide whether we need to free the buffer.
Given how close we are to release, maybe somebody
should doublecheck this.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dsound-release.patch
Type: text/x-diff
Size: 679 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080606/dbc499b5/attachment-0001.patch
More information about the wine-patches
mailing list