Samsung / node-jerryscript

JS runtime based on JerryScript
Other
30 stars 19 forks source link

Use free() when releasing external array buffer data #12

Closed galpeter closed 4 years ago

galpeter commented 4 years ago

Node uses buffers allocated with malloc/realloc when creating ArrayBuffers, thus the V8-Jerry binding should also use free() when releasing the allocated buffer.