Commit 2c4c2043 authored by Robert Reif's avatar Robert Reif Committed by Alexandre Julliard

dsound: Remove unnecessary NULL pointer check.

parent 90df5a96
......@@ -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");
if (This->notify)
IDirectSoundNotify_Release((LPDIRECTSOUNDNOTIFY)This->notify);
......
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