summaryrefslogtreecommitdiff
path: root/missing
diff options
context:
space:
mode:
authorYukihiro Matsumoto <matz@ruby-lang.org>1997-12-25 17:06:30 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-08-17 22:09:33 +0900
commit4207990990f8c8da414710816c32ae5fd0ae6987 (patch)
tree655a18271e3e85812f7fc6e008400f2f4f795593 /missing
parent66541bbb3630a5c512f8012c52ae777ab83beba5 (diff)
version 1.0-971225v1_0_971225
https://cache.ruby-lang.org/pub/ruby/1.0/ruby-1.0-971225.tar.gz Thu Dec 25 17:06:30 1997 Yukihiro Matsumoto <matz@netlab.co.jp> * version 1.0-971225 * some minor bug fixes.
Diffstat (limited to 'missing')
-rw-r--r--missing/nt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/missing/nt.c b/missing/nt.c
index 96db6166df..7210e1b33b 100644
--- a/missing/nt.c
+++ b/missing/nt.c
@@ -501,6 +501,7 @@ mypopen (char *cmd, char *mode)
return fp;
}
+
fRet = CreatePipe(&hInFile, &hOutFile, &sa, 2048L);
if (!fRet)
Fatal("cannot open pipe \"%s\" (%s)", cmd, strerror(errno));
@@ -863,7 +864,7 @@ NtCmdGlob (NtCmdLineElement *patt)
if (patt->flags & NTMALLOC)
free(patt->str);
- free(patt);
+ // free(patt); //TODO: memory leak occures here. we have to fix it.
}
//