mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-13 17:02:13 -05:00
Guard null pointer access
This commit is contained in:
1 parent
c248c9fb57
commit
70c1a2c064
1 file changed
+2
@@ -55,6 +55,8 @@ QString RimWellLogCurveInfoTextProvider::additionalText( RiuPlotCurve* curve, in
|
||||
auto annotationCurves = sourceCurve->additionalDataSources();
|
||||
for ( auto annotationCurve : annotationCurves )
|
||||
{
|
||||
if ( !annotationCurve ) continue;
|
||||
|
||||
RimDepthTrackPlot* depthTrackPlot = nullptr;
|
||||
annotationCurve->firstAncestorOfType( depthTrackPlot );
|
||||
if ( depthTrackPlot )
|
||||
|
||||
Reference in new issue
Block a user