Skip to content
Permalink
Browse files
Fixed occasional segfaults when labeling plugin is running - due doub…
…le init/finish geos calls in PAL

git-svn-id: http://svn.osgeo.org/qgis/branches/symbology-ng-branch@12117 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Nov 15, 2009
1 parent 4cf3ae1 commit 1ac22c1f57bfba7e5d8629b9f0797471d6e69d65
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/core/pal/pal.cpp
@@ -82,7 +82,8 @@ namespace pal

Pal::Pal()
{
initGEOS( geosNotice, geosError );
// do not init and exit GEOS - we do it inside QGIS
//initGEOS( geosNotice, geosError );

layers = new std::list<Layer*>();

@@ -159,7 +160,8 @@ namespace pal
delete layers;
delete lyrsMutex;

finishGEOS();
// do not init and exit GEOS - we do it inside QGIS
//finishGEOS();
}


0 comments on commit 1ac22c1

Please sign in to comment.