diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 5055960c6..48cf9364d 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2005-09-17 Christopher Faylor + + * pipe.cc (fhandler_pipe::open): Use 'cfree' to free buffer since it is + now allocated by cmalloc. + 2005-09-17 Corinna Vinschen * net.cc (cygwin_inet_ntop): Change len argument to socklen_t to diff --git a/winsup/cygwin/pipe.cc b/winsup/cygwin/pipe.cc index 0a289a731..3407f0945 100644 --- a/winsup/cygwin/pipe.cc +++ b/winsup/cygwin/pipe.cc @@ -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: