[mapserver-commits] r7792 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Tue Jul 8 15:29:57 EDT 2008


Author: dmorissette
Date: 2008-07-08 15:29:56 -0400 (Tue, 08 Jul 2008)
New Revision: 7792

Modified:
   trunk/mapserver/mapwfs11.c
Log:
Removed leak of unused psNsWfs struct (#2686)

Modified: trunk/mapserver/mapwfs11.c
===================================================================
--- trunk/mapserver/mapwfs11.c	2008-07-08 18:56:15 UTC (rev 7791)
+++ trunk/mapserver/mapwfs11.c	2008-07-08 19:29:56 UTC (rev 7792)
@@ -204,7 +204,7 @@
     xmlNodePtr psRootNode, psMainNode, psNode, psFtNode;
     xmlNodePtr psTmpNode;
     const char *updatesequence=NULL;
-    xmlNsPtr psNsOws, psNsXLink, psNsOgc, psNsWfs;
+    xmlNsPtr psNsOws, psNsXLink, psNsOgc;
     char *schemalocation = NULL;
     char *xsi_schemaLocation = NULL;
 
@@ -247,8 +247,6 @@
 /* -------------------------------------------------------------------- */
 /*      Name spaces                                                     */
 /* -------------------------------------------------------------------- */
-    psNsWfs = xmlNewNs(NULL, BAD_CAST "http://www.opengis.net/wfs", BAD_CAST "wfs");
-
     /*default name space*/      
     xmlNewProp(psRootNode, BAD_CAST "xmlns", BAD_CAST "http://www.opengis.net/wfs");
     
@@ -408,10 +406,6 @@
 
     xmlCleanupParser();
 
-    /* clean up : this is done in the dispatch*/
-    /*msWFSFreeParamsObj(params);
-    free(params);*/
-
     return(MS_SUCCESS);
 }
     



More information about the mapserver-commits mailing list