dsound: Unset variable on failure in IKsBufferPropertySetImpl_Create.

This commit is contained in:
Maarten Lankhorst 2007-06-06 21:53:26 +02:00 committed by Alexandre Julliard
parent 58c55881be
commit faa29e9238
1 changed files with 1 additions and 0 deletions

View File

@ -200,6 +200,7 @@ HRESULT IKsBufferPropertySetImpl_Create(
PIDSDRIVERPROPERTYSET ps = NULL;
IKsBufferPropertySetImpl *iks;
TRACE("(%p,%p)\n",dsb,piks);
*piks = NULL;
if (!dsb->hwbuf)
return DSERR_INVALIDPARAM;