projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2325f3
)
[wasm] Fix mono_vfree ().
author
Zoltan Varga
<vargaz@gmail.com>
Thu, 30 Jan 2020 14:36:12 +0000
(09:36 -0500)
committer
Zoltan Varga
<vargaz@gmail.com>
Thu, 30 Jan 2020 14:36:12 +0000
(09:36 -0500)
src/mono/mono/utils/mono-mmap-wasm.c
patch
|
blob
|
history
diff --git
a/src/mono/mono/utils/mono-mmap-wasm.c
b/src/mono/mono/utils/mono-mmap-wasm.c
index
c8ff1f8
..
4af6764
100644
(file)
--- a/
src/mono/mono/utils/mono-mmap-wasm.c
+++ b/
src/mono/mono/utils/mono-mmap-wasm.c
@@
-165,7
+165,7
@@
mono_vfree (void *addr, size_t length, MonoMemAccountType type)
res = munmap (info->addr, info->size);
END_CRITICAL_SECTION;
g_free (info);
- g_hash_table_remove (valloc_hash,
info
);
+ g_hash_table_remove (valloc_hash,
addr
);
} else {
BEGIN_CRITICAL_SECTION;
res = munmap (addr, length);