[mapserver-commits] r11257 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Fri Mar 18 14:51:06 EDT 2011
Author: rouault
Date: 2011-03-18 11:51:06 -0700 (Fri, 18 Mar 2011)
New Revision: 11257
Modified:
trunk/mapserver/mapfile.c
Log:
fix memleak
Modified: trunk/mapserver/mapfile.c
===================================================================
--- trunk/mapserver/mapfile.c 2011-03-18 18:51:05 UTC (rev 11256)
+++ trunk/mapserver/mapfile.c 2011-03-18 18:51:06 UTC (rev 11257)
@@ -4172,6 +4172,8 @@
}
format = msCreateDefaultOutputFormat( map, driver, name );
+ msFree( name );
+ name = NULL;
if( format == NULL )
{
msSetError(MS_MISCERR,
More information about the mapserver-commits
mailing list