Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Fix options_file_memory_leak
Browse files Browse the repository at this point in the history
Fixes #1714.
Fixes #1715.
  • Loading branch information
japj authored and ry committed Sep 15, 2011
1 parent a1bafc5 commit 3e66780
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/process_wrap.cc
Expand Up @@ -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]);
Expand Down

0 comments on commit 3e66780

Please sign in to comment.