projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1bafc5
)
Fix options_file_memory_leak
author
Jeroen Janssen
<jeroen.janssen@gmail.com>
Thu, 15 Sep 2011 18:41:09 +0000
(20:41 +0200)
committer
Ryan Dahl
<ry@tinyclouds.org>
Thu, 15 Sep 2011 19:03:06 +0000
(12:03 -0700)
Fixes #1714.
Fixes #1715.
src/process_wrap.cc
patch
|
blob
|
history
diff --git
a/src/process_wrap.cc
b/src/process_wrap.cc
index
7740106
..
6abda4d
100644
(file)
--- a/
src/process_wrap.cc
+++ b/
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]);