* pipe.cc (fhandler_pipe::open): Use 'cfree' to free buffer since it is now

allocated by cmalloc.
This commit is contained in:
Christopher Faylor
2005-09-17 20:36:34 +00:00
parent 5da8b1281b
commit 0d8efc429f
2 changed files with 6 additions and 1 deletions

View File

@@ -119,7 +119,7 @@ fhandler_pipe::open (int flags, mode_t mode)
if (flags & O_NOINHERIT)
close_on_exec (true);
uninterruptible_io (fh->uninterruptible_io ());
free (fh);
cfree (fh);
CloseHandle (proc);
return 1;
out: