aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortingyuan <thuang@mozilla.com>2013-04-22 12:25:49 +0800
committerAlon Zakai <alonzakai@gmail.com>2013-05-21 17:09:58 -0700
commit707c0802421780965bbfb4be68124740fcb24023 (patch)
tree11c149b54976f38da0327e48faa67e552dd3b72c
parent35ac5d6ba96d73d5350a56991eae171aa9eff250 (diff)
Conform to coding conventions.
-rw-r--r--src/library.js3
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;
},