Skip to content
Permalink
Browse files
Fix for another small memory leak
git-svn-id: http://svn.osgeo.org/qgis/trunk@6477 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Feb 1, 2007
1 parent d9753e2 commit e345174df8d7b6dd0ed8b1112032e915979c18c9
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/core/qgsspatialrefsys.cpp
@@ -19,6 +19,7 @@
#include <ogr_api.h>
#include <ogr_spatialref.h>
#include <cpl_error.h>
#include <cpl_conv.h>

CUSTOM_SRS_VALIDATION QgsSpatialRefSys::mCustomSrsValidation = NULL;

@@ -291,6 +292,8 @@ bool QgsSpatialRefSys::createFromWkt(QString theWkt)
createFromProj4(QString(proj4src));
return mIsValidFlag;
//setMapunits will be called by createfromproj above

CPLFree(proj4src);
}

bool QgsSpatialRefSys::createFromEpsg(long theEpsg)

0 comments on commit e345174

Please sign in to comment.