[mapserver-commits] r13150 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Tue Feb 14 10:59:44 EST 2012


Author: aboudreault
Date: 2012-02-14 07:59:44 -0800 (Tue, 14 Feb 2012)
New Revision: 13150

Modified:
   trunk/mapserver/HISTORY.TXT
   trunk/mapserver/mapstring.c
Log:
Fixed Memory Leak with Fribidi Strings (#4188)

Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT	2012-02-14 15:54:28 UTC (rev 13149)
+++ trunk/mapserver/HISTORY.TXT	2012-02-14 15:59:44 UTC (rev 13150)
@@ -15,6 +15,8 @@
 Current Version (SVN trunk, 6.1-dev, future 6.2): 
 -------------------------------------------------
 
+- Fixed Memory Leak with Fribidi Strings (#4188)
+
 - Allow multiple label definitions within a class (RFC 77/#4127)
 
 - shp2img: make it possible to specify layers (with -l option) that match GROUP names.

Modified: trunk/mapserver/mapstring.c
===================================================================
--- trunk/mapserver/mapstring.c	2012-02-14 15:54:28 UTC (rev 13149)
+++ trunk/mapserver/mapstring.c	2012-02-14 15:59:44 UTC (rev 13150)
@@ -1650,6 +1650,8 @@
     outstring[j] = '\0';
 
 #endif
+     
+     free(visual);
      return msStrdup(outstring);
   }
 }



More information about the mapserver-commits mailing list