mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Fix for another small memory leak
git-svn-id: http://svn.osgeo.org/qgis/trunk@6477 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
d9753e2aea
commit
e345174df8
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user