projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fri Oct 6 16:57:26 CEST 2006 Paolo Molaro <lupus@ximian.com>
[mono.git]
/
mono
/
metadata
/
rawbuffer.c
diff --git
a/mono/metadata/rawbuffer.c
b/mono/metadata/rawbuffer.c
index b390f76aa86ee7825f71af20530abcdcbf15b4c5..4475c1271a3b26160fb401c9d7385062273de307 100644
(file)
--- a/
mono/metadata/rawbuffer.c
+++ b/
mono/metadata/rawbuffer.c
@@
-89,6
+89,14
@@
mono_raw_buffer_init (void)
mmap_map = g_hash_table_new (NULL, NULL);
}
mmap_map = g_hash_table_new (NULL, NULL);
}
+void
+mono_raw_buffer_cleanup (void)
+{
+ g_hash_table_destroy (mmap_map);
+
+ DeleteCriticalSection (&mmap_mutex);
+}
+
static void *
mono_raw_buffer_load_mmap (int fd, int is_writable, guint32 base, size_t size)
{
static void *
mono_raw_buffer_load_mmap (int fd, int is_writable, guint32 base, size_t size)
{