summaryrefslogtreecommitdiff
path: root/missing/nt.c
diff options
context:
space:
mode:
Diffstat (limited to 'missing/nt.c')
-rw-r--r--missing/nt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/missing/nt.c b/missing/nt.c
index 96db616..7210e1b 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.
}
//