[coverity] 1543198 Explicit null dereferenced
This commit is contained in:
parent
af1c890295
commit
793145b8c5
@ -1301,7 +1301,7 @@ terminate:
|
||||
default:
|
||||
{
|
||||
std::lock_guard<CriticalSection> lock(sdl->critical);
|
||||
if (sdl->connection_dialog)
|
||||
if (sdl->connection_dialog && error_msg)
|
||||
sdl->connection_dialog->showError(error_msg);
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user