[gs-cvs] rev 8637 - branches/mtrender/src

ray at ghostscript.com ray at ghostscript.com
Sun Apr 13 19:40:55 PDT 2008


Author: ray
Date: 2008-04-13 19:40:55 -0700 (Sun, 13 Apr 2008)
New Revision: 8637

Modified:
   branches/mtrender/src/gsmemlok.c
Log:
Free the 'monitor' (mutex) when the locking wrapper is released. This
probably was never an issue since the locking was typically installed
when the application starts, and only released upon exit.


Modified: branches/mtrender/src/gsmemlok.c
===================================================================
--- branches/mtrender/src/gsmemlok.c	2008-04-14 02:28:08 UTC (rev 8636)
+++ branches/mtrender/src/gsmemlok.c	2008-04-14 02:40:55 UTC (rev 8637)
@@ -105,6 +105,7 @@
 {
     gs_memory_free_all((gs_memory_t *)lmem, FREE_ALL_STRUCTURES,
 		       "gs_memory_locked_release");
+    gx_monitor_free(lmem->monitor);
 }
 
 /* ---------- Accessors ------------- */



More information about the gs-cvs mailing list