Skip to content

Commit

Permalink
refs #4701. Fixes miniplot crash.
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenArnold committed Feb 1, 2012
1 parent 6f8c99e commit a806c4a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -459,8 +459,8 @@ void OneCurvePlot::removeCurve(const QString& label)
if (it != m_stored.end())
{
it.value()->detach();
m_stored.erase(it);
delete it.value();
m_stored.erase(it);
}
}

Expand Down

0 comments on commit a806c4a

Please sign in to comment.