dsound: Remove unnecessary NULL pointer check.
This commit is contained in:
parent
90df5a967f
commit
2c4c204371
|
@ -793,10 +793,7 @@ IDirectSoundCaptureBufferImpl_Release( LPDIRECTSOUNDCAPTUREBUFFER8 iface )
|
|||
IDsCaptureDriverBuffer_Release(This->device->hwbuf);
|
||||
|
||||
/* remove from DirectSoundCaptureDevice */
|
||||
if (This->device)
|
||||
This->device->capture_buffer = NULL;
|
||||
else
|
||||
ERR("does not reference dsound\n");
|
||||
This->device->capture_buffer = NULL;
|
||||
|
||||
if (This->notify)
|
||||
IDirectSoundNotify_Release((LPDIRECTSOUNDNOTIFY)This->notify);
|
||||
|
|
Loading…
Reference in New Issue