mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#9771: Guard nullpointer access
This commit is contained in:
@@ -51,6 +51,7 @@ void RigSimulationWellCenterLineCalculator::calculateWellPipeStaticCenterline(
|
||||
CVF_ASSERT( rimWell );
|
||||
|
||||
const RigSimWellData* simWellData = rimWell->simWellData();
|
||||
if ( !simWellData ) return;
|
||||
|
||||
RimEclipseView* eclipseView;
|
||||
rimWell->firstAncestorOrThisOfType( eclipseView );
|
||||
|
||||
Reference in New Issue
Block a user