bnoordhuis/node-heapdump — pull request #27 by emil-mi (2014-02-01 00:52:35+00:00)
Title: Fixed a memory leak in heapdump.cc on Windows & made compilation succeed with node v.0.10.24

Heap snapshots are kept inside the win32 node process and if I take snapshots regularly the memory footprint of node grows without bounds (ironically). This patch deletes the snapshot after it is saved to disk. Apparently all the functionality of the module is retained.
I have not tested it with latest node (v0.11) on Windows or with v0.10 on Linux but Isolate* pointer is forwarded correctly and appears harmless (it is never used).