Commit faa29e92 authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

dsound: Unset variable on failure in IKsBufferPropertySetImpl_Create.

parent 58c55881
......@@ -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;
......
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