[mapserver-commits] r11074 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Fri Mar 4 15:11:56 EST 2011


Author: rouault
Date: 2011-03-04 12:11:56 -0800 (Fri, 04 Mar 2011)
New Revision: 11074

Modified:
   trunk/mapserver/mapogcsld.c
Log:
fix memory leak

Modified: trunk/mapserver/mapogcsld.c
===================================================================
--- trunk/mapserver/mapogcsld.c	2011-03-04 19:57:49 UTC (rev 11073)
+++ trunk/mapserver/mapogcsld.c	2011-03-04 20:11:56 UTC (rev 11074)
@@ -855,6 +855,8 @@
                                                              class[psLayer->numclasses-1-i]->
                                                              expression, szExpression);
                                     }
+                                    msFree(szExpression);
+                                    szExpression = NULL;
                                 }
                             }
                         }



More information about the mapserver-commits mailing list