File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -881,7 +881,7 @@ bool QgsCoordinateReferenceSystem::operator==( const QgsCoordinateReferenceSyste
881
881
882
882
// OSRIsSame is not relaibel when it comes to comparing +towgs84 parameters
883
883
// Use string compare on WKT instead.
884
- if ( ( OSRExportToWkt ( mCRS , &thisStr ) == OGRERR_NONE ) )
884
+ if (( OSRExportToWkt ( mCRS , &thisStr ) == OGRERR_NONE ) )
885
885
{
886
886
if ( OSRExportToWkt ( theSrs.mCRS , &otherStr ) == OGRERR_NONE )
887
887
{
@@ -890,13 +890,13 @@ bool QgsCoordinateReferenceSystem::operator==( const QgsCoordinateReferenceSyste
890
890
if ( !strcmp ( thisStr, otherStr ) )
891
891
{
892
892
QgsDebugMsg ( QString ( " MATCHED!" ) + otherStr );
893
- OGRFree ( * thisStr );
894
- OGRFree ( * otherStr );
893
+ CPLFree ( thisStr );
894
+ CPLFree ( otherStr );
895
895
return true ;
896
896
}
897
- OGRFree ( * otherStr );
897
+ CPLFree ( otherStr );
898
898
}
899
- OGRFree ( * thisStr );
899
+ CPLFree ( thisStr );
900
900
}
901
901
return false ;
902
902
}
You can’t perform that action at this time.
0 commit comments