From 4207990990f8c8da414710816c32ae5fd0ae6987 Mon Sep 17 00:00:00 2001 From: Yukihiro Matsumoto Date: Thu, 25 Dec 1997 17:06:30 +0900 Subject: version 1.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 * version 1.0-971225 * some minor bug fixes. --- missing/nt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'missing') 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. } // -- cgit v1.2.3