[mapserver-commits] r12308 - trunk/mapserver/mapcache/src

svn at osgeo.org svn at osgeo.org
Fri Aug 26 07:15:42 EDT 2011


Author: tbonfort
Date: 2011-08-26 04:15:42 -0700 (Fri, 26 Aug 2011)
New Revision: 12308

Modified:
   trunk/mapserver/mapcache/src/tileset.c
Log:
add stub for tile deleteion
thomas.bonfort | 2011-02-14 11:36:47 +0100 (Mon, 14 Feb 2011)

Modified: trunk/mapserver/mapcache/src/tileset.c
===================================================================
--- trunk/mapserver/mapcache/src/tileset.c	2011-08-26 11:15:38 UTC (rev 12307)
+++ trunk/mapserver/mapcache/src/tileset.c	2011-08-26 11:15:42 UTC (rev 12308)
@@ -143,11 +143,10 @@
       cairo_set_source_surface (cr, srcsurface, 0, 0);
       cairo_paint (cr);
       cairo_restore(cr);
-
-      
-
-
+      cairo_surface_destroy(srcsurface);
    }
+   cairo_surface_destroy(dstsurface);
+   cairo_destroy(cr);
    return image;
 }
 



More information about the mapserver-commits mailing list