diff options
-rw-r--r-- | src/library.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/library.js b/src/library.js index 698569a5..1a8f43f0 100644 --- a/src/library.js +++ b/src/library.js @@ -3774,8 +3774,9 @@ LibraryManager.library = { if (!info) return 0; if (num == info.num) { _mmap.mappings[start] = null; - if (info.allocated) + if (info.allocated) { _free(info.malloc); + } } return 0; }, |