coverity#1224975 Dereference after null check
Change-Id: I89cc31ae5b7c598f16eb3f52d0e4cbce0acf4bc4
This commit is contained in:
@@ -509,7 +509,7 @@ namespace rptui
|
||||
pConditionCandidate = pConditionCandidate->GetParent();
|
||||
pPlaygroundCandidate = pConditionCandidate ? pConditionCandidate->GetParent() : NULL;
|
||||
}
|
||||
if ( pPlaygroundCandidate == m_pConditionPlayground )
|
||||
if (pConditionCandidate && pPlaygroundCandidate == m_pConditionPlayground)
|
||||
{
|
||||
impl_ensureConditionVisible( dynamic_cast< const Condition& >( *pConditionCandidate ).getConditionIndex() );
|
||||
}
|
||||
|
Reference in New Issue
Block a user