fix: use delete instead of free in sampling-heap-profiler.cc (#117)
fix: use delete instead of free in sampling-heap-profiler.cc (#117)

* fix: use delete instead of free in sampling-heap-profiler.cc

* use automatic memory management

google/pprof-nodejs,googleapis/cloud-profiler-nodejs,google/pprof-nodejs,google/pprof-nodejs,google/pprof-nodejs,googleapis/cloud-profiler-nodejs,google/pprof-nodejs,googleapis/cloud-profiler-nodejs,googleapis/cloud-profiler-nodejs,googleapis/cloud-profiler-nodejs