Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fix options_file_memory_leak

Fixes #1714.
Fixes #1715.
  • Loading branch information...
japj authored and ry committed Sep 15, 2011
1 parent a1bafc5 commit 3e667804ebcc435f879354d0678d7d276308f70e
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/process_wrap.cc
@@ -165,6 +165,7 @@ class ProcessWrap : public HandleWrap {
}

free(options.cwd);
free((void*)options.file);

if (options.env) {
for (int i = 0; options.env[i]; i++) free(options.env[i]);

0 comments on commit 3e66780

Please sign in to comment.
You can’t perform that action at this time.