Commit 58fe9f1f authored by Robert Reif's avatar Robert Reif Committed by Alexandre Julliard

Initialize buffer reference count.

parent 61cbe667
......@@ -1107,6 +1107,7 @@ HRESULT WINAPI IDirectSoundBufferImpl_Create(
*pdsb = NULL;
return DSERR_OUTOFMEMORY;
}
dsb->buffer->ref = 1;
}
/* Allocate the hardware buffer */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment