Initialize buffer reference count.

This commit is contained in:
Robert Reif 2003-11-17 20:03:42 +00:00 committed by Alexandre Julliard
parent 61cbe6672a
commit 58fe9f1fc0

View file

@ -1107,6 +1107,7 @@ HRESULT WINAPI IDirectSoundBufferImpl_Create(
*pdsb = NULL;
return DSERR_OUTOFMEMORY;
}
dsb->buffer->ref = 1;
}
/* Allocate the hardware buffer */