Fix memory leak warning on node.js 0.10.