Skip to content
Permalink
Browse files
Fix for another small memory leak
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6477 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Feb 1, 2007
1 parent c1dc62d commit b00bd3b580498b1b48e3c1e47dbf017f5b53fd48
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 b00bd3b

Please sign in to comment.