Commit e64b26b2 authored by kbensema's avatar kbensema

Fixed memory leak in avtSIMODataTreeIterator

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@21494 18c085ea-50e0-402c-830e-de6fd14e8384
parent bad4b96a
......@@ -196,6 +196,8 @@ avtSIMODataTreeIterator::Execute(void)
// Creation: May 2, 2013
//
// Modifications:
// Kevin Bensema, Thu 1 August 12:39 PDT 2013
// Fixed memory leak by deleting SIMOWorkItem pointer passed in.
//
// ****************************************************************************
......@@ -231,6 +233,9 @@ avtSIMODataTreeIterator::ExecuteDataTreeOnThread(void *cbdata)
work->This->UpdateProgress(work->This->currentNode, work->This->totalNodes);
VisitMutexUnlock("currentNode");
*/
// delete the work item pointer.
delete work;
}
// ****************************************************************************
......
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