Commit 86d13c4c authored by loring's avatar loring
Browse files

fix expression leak in avtSimV2FileFormat



git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@23234 18c085ea-50e0-402c-830e-de6fd14e8384
parent 04187ab2
......@@ -924,6 +924,9 @@ AddCurveMetaData(avtDatabaseMetaData *md, visit_handle h)
//
// Modifications:
//
// Burlen Loring, Mon Apr 28 14:54:13 PDT 2014
// fixed leak, delete the expression after adding it.
//
// ****************************************************************************
void
......@@ -960,6 +963,7 @@ AddExpressionMetaData(avtDatabaseMetaData *md, visit_handle h)
newexp->SetType(Expression::Unknown);
md->AddExpression(newexp);
delete newexp;
}
free(definition);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment