Module: wine Branch: master Commit: faa29e92380867b083080d2c93381cc58ddc3bd7 URL: http://source.winehq.org/git/wine.git/?a=commit;h=faa29e92380867b083080d2c93...
Author: Maarten Lankhorst m.b.lankhorst@gmail.com Date: Wed Jun 6 21:53:26 2007 +0200
dsound: Unset variable on failure in IKsBufferPropertySetImpl_Create.
---
dlls/dsound/propset.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/dsound/propset.c b/dlls/dsound/propset.c index 7bb7f4f..4017f07 100644 --- a/dlls/dsound/propset.c +++ b/dlls/dsound/propset.c @@ -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;