Skip to content
Snippets Groups Projects
Commit faa29e92 authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard
Browse files

dsound: Unset variable on failure in IKsBufferPropertySetImpl_Create.

parent 58c55881
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment