--- native/mod_slotmem/sharedmem_util.c 2011-06-15 09:17:21 UTC (rev 597) +++ native/mod_slotmem/sharedmem_util.c 2011-06-15 09:19:34 UTC (rev 598) @@ -188,6 +188,10 @@ store_slotmem(next); apr_shm_destroy(next->shm); /* XXX: remove the lock file ? */ + if (next->global_lock) { + apr_file_close(next->global_lock); + next->global_lock = 0; + } next = next->next; } }