Skip to content

Commit

Permalink
Fix memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Aug 8, 2021
1 parent cae6c8d commit e622513
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/app/dwg/qgsdwgimporter.cpp
Expand Up @@ -170,6 +170,11 @@ QgsDwgImporter::~QgsDwgImporter()
{
commitTransaction();
}
if ( mCrsH )
{
OSRRelease( mCrsH );
mCrsH = nullptr;
}
}

QString drwVersionToString( DRW::Version version )
Expand Down

0 comments on commit e622513

Please sign in to comment.