Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-09-18 00:36:34 +0400
committerChristopher Faylor <me@cgf.cx>2005-09-18 00:36:34 +0400
commit0d8efc429f900839298b40fd80755a3d3f35b34a (patch)
tree7d71de9102a9f74e1b5dffcf4e9f40ea35e1dce4 /winsup/cygwin/pipe.cc
parent5da8b1281b4a9bb9c1748cd72a73af3b97a1f9fb (diff)
* pipe.cc (fhandler_pipe::open): Use 'cfree' to free buffer since it is now
allocated by cmalloc.
Diffstat (limited to 'winsup/cygwin/pipe.cc')
-rw-r--r--winsup/cygwin/pipe.cc2
1 files changed, 1 insertions, 1 deletions
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: