WASAPI: fixed rare crash
This commit is contained in:
parent
029473919c
commit
3478d7f4be
|
@ -628,7 +628,6 @@ error2:
|
|||
|
||||
if ( notification_client.lpVtbl->QueryInterface ) {
|
||||
pEnumerator->lpVtbl->UnregisterEndpointNotificationCallback( pEnumerator, (IMMNotificationClient *)¬ification_client );
|
||||
Com_Memset( ¬ification_client, 0, sizeof( notification_client ) );
|
||||
}
|
||||
|
||||
pEnumerator->lpVtbl->Release( pEnumerator ); pEnumerator = NULL;
|
||||
|
|
Loading…
Reference in New Issue