On 22.12.2015 10:49, Michael Stefaniuc wrote:
Signed-off-by: Michael Stefaniuc mstefani@redhat.de
I run into this and wasted time while fixing the bug during the freeze. So I am submitting the dsound cleanups I have laying around.
dlls/dsound/buffer.c | 46 ++++++++++++++++------------------------------ 1 file changed, 16 insertions(+), 30 deletions(-)
Are you sure this will work as expected? The destructor makes assumptions about specific variables to be initialized. If I don't miss anything, DirectSoundDevice_RemoveBuffer could trigger an assertion / corrupt nrofbuffers now. This->buffer->ref will also not be initialized. Could you please double check that?