Skip to content

Commit

Permalink
refs #4422. Fixed resource management issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenArnold committed Jan 9, 2012
1 parent 5e7d55f commit d8a10ad
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Code/Mantid/MantidQt/API/src/AlgorithmDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,6 @@ void AlgorithmDialog::helpClicked()
// Find the latest version
IAlgorithm* alg = Mantid::API::FrameworkManager::Instance().createAlgorithm(m_algName.toStdString(), -1);
int latest_version = alg->version();
delete alg;
// Adjust the link if you're NOT looking at the latest version of the algo
int this_version = m_algorithm->version();
if ((this_version != latest_version))
Expand Down

0 comments on commit d8a10ad

Please sign in to comment.