Use deleteChildren() when required to avoid memory leak

This commit is contained in:
Magne Sjaastad
2022-05-31 12:56:45 +02:00
parent 950ec38a14
commit 6a5b9f7300
11 changed files with 14 additions and 14 deletions

View File

@@ -532,7 +532,7 @@ void RimSummaryTimeAxisProperties::appendAnnotation( RimPlotAxisAnnotation* anno
//--------------------------------------------------------------------------------------------------
void RimSummaryTimeAxisProperties::removeAllAnnotations()
{
m_annotations.clearWithoutDelete();
m_annotations.deleteChildren();
}
//--------------------------------------------------------------------------------------------------