We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent c1dc62d commit b00bd3bCopy full SHA for b00bd3b
src/core/qgsspatialrefsys.cpp
@@ -19,6 +19,7 @@
19
#include <ogr_api.h>
20
#include <ogr_spatialref.h>
21
#include <cpl_error.h>
22
+#include <cpl_conv.h>
23
24
CUSTOM_SRS_VALIDATION QgsSpatialRefSys::mCustomSrsValidation = NULL;
25
@@ -291,6 +292,8 @@ bool QgsSpatialRefSys::createFromWkt(QString theWkt)
291
292
createFromProj4(QString(proj4src));
293
return mIsValidFlag;
294
//setMapunits will be called by createfromproj above
295
+
296
+ CPLFree(proj4src);
297
}
298
299
bool QgsSpatialRefSys::createFromEpsg(long theEpsg)
0 commit comments