mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-14 18:45:38 +00:00
Initialize buffer reference count.
This commit is contained in:
parent
61cbe6672a
commit
58fe9f1fc0
|
@ -1107,6 +1107,7 @@ HRESULT WINAPI IDirectSoundBufferImpl_Create(
|
|||
*pdsb = NULL;
|
||||
return DSERR_OUTOFMEMORY;
|
||||
}
|
||||
dsb->buffer->ref = 1;
|
||||
}
|
||||
|
||||
/* Allocate the hardware buffer */
|
||||
|
|
Loading…
Reference in a new issue