[postgis-devel] [PostGIS] #273: ST_GeomFromGML crashes in Windows compiled in MingW

PostGIS trac at osgeo.org
Fri Dec 11 09:17:57 PST 2009


#273: ST_GeomFromGML crashes in Windows compiled in MingW
----------------------+-----------------------------------------------------
  Reporter:  robe     |       Owner:  colivier     
      Type:  defect   |      Status:  new          
  Priority:  medium   |   Milestone:  PostGIS 1.5.0
 Component:  postgis  |     Version:  trunk        
Resolution:           |    Keywords:               
----------------------+-----------------------------------------------------
Comment (by colivier):

 Paul,

 You're right there'isnt any, here a diff:

 {{{
 Index: lwgeom_in_gml.c
 ===================================================================
 --- lwgeom_in_gml.c     (revision 4995)
 +++ lwgeom_in_gml.c     (working copy)
 @@ -161,13 +161,11 @@
                         if (    (*p)->prefix == NULL ||
                                 !xmlStrcmp(xnode->ns->prefix,
 (*p)->prefix)) {

 -                               xmlFree(ns);
                                 return true;
                         }
                 }
         }

 -       xmlFree(ns);
         return false;
  }
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/273#comment:38>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list