[mapserver-commits] r11863 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Sat Jul 2 11:06:55 EDT 2011


Author: rouault
Date: 2011-07-02 08:06:55 -0700 (Sat, 02 Jul 2011)
New Revision: 11863

Modified:
   trunk/mapserver/mapcontext.c
Log:
to make analysers happier (no real issue possible in practice)

Modified: trunk/mapserver/mapcontext.c
===================================================================
--- trunk/mapserver/mapcontext.c	2011-07-02 14:49:18 UTC (rev 11862)
+++ trunk/mapserver/mapcontext.c	2011-07-02 15:06:55 UTC (rev 11863)
@@ -497,7 +497,7 @@
   pszStyleName =(char*)CPLGetXMLValue(psStyle,"Name",NULL);
   if(pszStyleName == NULL)
   {
-       pszStyleName = (char*)malloc(15);
+       pszStyleName = (char*)malloc(20);
        sprintf(pszStyleName, "Style{%d}", nStyle);
   }
   else



More information about the mapserver-commits mailing list