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

svn at osgeo.org svn at osgeo.org
Fri Aug 26 07:21:57 EDT 2011


Author: tbonfort
Date: 2011-08-26 04:21:56 -0700 (Fri, 26 Aug 2011)
New Revision: 12393

Modified:
   trunk/mapserver/mapcache/src/cache_disk.c
Log:
close blank tile file descriptor
thomas.bonfort | 2011-07-03 13:03:44 +0200 (Sun, 03 Jul 2011)

Modified: trunk/mapserver/mapcache/src/cache_disk.c
===================================================================
--- trunk/mapserver/mapcache/src/cache_disk.c	2011-08-26 11:21:53 UTC (rev 12392)
+++ trunk/mapserver/mapcache/src/cache_disk.c	2011-08-26 11:21:56 UTC (rev 12393)
@@ -264,6 +264,7 @@
                   APR_OS_DEFAULT,ctx->pool))) {
                   if(!APR_STATUS_IS_EEXIST(ret)) {
                      ctx->set_error(ctx, 500,  "failed to create directory %s for blank tiles",blankdirname, apr_strerror(ret,errmsg,120));
+                     ctx->global_lock_release(ctx);
                      return;
                   }
             }



More information about the mapserver-commits mailing list