diff options
author | Anthony Pesch <inolen@gmail.com> | 2013-08-31 22:29:52 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-09-03 14:41:31 -0700 |
commit | d555f96ace2cd497ab9f66cfe6ae328d8e52b67c (patch) | |
tree | 45b5908981959568aee0f6ec330cd22c74edee79 /src/jsifier.js | |
parent | 2a29c25394abf9941f4a768a810c417f506e1678 (diff) |
free H_BASE on cleanup
Diffstat (limited to 'src/jsifier.js')
-rw-r--r-- | src/jsifier.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jsifier.js b/src/jsifier.js index 460660b4..ce08fdde 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -1665,7 +1665,7 @@ function JSify(data, functionsOnly, givenFunctions) { print('STATIC_BASE = ' + Runtime.GLOBAL_BASE + ';\n'); print('STATICTOP = STATIC_BASE + ' + Runtime.alignMemory(Variables.nextIndexedOffset) + ';\n'); } else { - print('var H_BASE = parentModule["_malloc"](' + Runtime.alignMemory(Variables.nextIndexedOffset) + ' + Runtime.GLOBAL_BASE);\n'); + print('H_BASE = parentModule["_malloc"](' + Runtime.alignMemory(Variables.nextIndexedOffset) + ' + Runtime.GLOBAL_BASE);\n'); print('// STATICTOP = STATIC_BASE + ' + Runtime.alignMemory(Variables.nextIndexedOffset) + ';\n'); // comment as metadata only } } |