Skip to content
Snippets Groups Projects
Commit fb99d20b authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

BUG: memory leak in ERS

parent d16c9d63
No related branches found
No related tags found
No related merge requests found
...@@ -49,6 +49,11 @@ ossimErsSarModel::ossimErsSarModel(): ...@@ -49,6 +49,11 @@ ossimErsSarModel::ossimErsSarModel():
ossimErsSarModel::~ossimErsSarModel() ossimErsSarModel::~ossimErsSarModel()
{ {
if(theErsSarleader != NULL)
{
delete theErsSarleader;
theErsSarleader = NULL;
}
} }
ossimString ossimErsSarModel::getClassName() const ossimString ossimErsSarModel::getClassName() const
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment