summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_console.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2007-11-26 21:30:49 +0000
committerChristopher Faylor <me@cgf.cx>2007-11-26 21:30:49 +0000
commitee4388c4200ed46ebeb8509f6dd204a6476017dc (patch)
tree55fd4f1c7f8e169eb4aad0c646333be0cc2a1da3 /winsup/cygwin/fhandler_console.cc
parent32cba6cb3a8366df854ba24ece2a60f1b2f872a3 (diff)
downloadcygnal-ee4388c4200ed46ebeb8509f6dd204a6476017dc.tar.gz
cygnal-ee4388c4200ed46ebeb8509f6dd204a6476017dc.tar.bz2
cygnal-ee4388c4200ed46ebeb8509f6dd204a6476017dc.zip
Change many cygheap allocation routines to their *_abort analogs.
* cygheap.cc (cmalloc_abort): New function. (crealloc_abort): Ditto. (ccalloc_abort): Ditto.
Diffstat (limited to 'winsup/cygwin/fhandler_console.cc')
-rw-r--r--winsup/cygwin/fhandler_console.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc
index a37cf5869..e4afe16d5 100644
--- a/winsup/cygwin/fhandler_console.cc
+++ b/winsup/cygwin/fhandler_console.cc
@@ -1241,7 +1241,7 @@ fhandler_console::char_command (char c)
if (dev_state->savebuf)
cfree (dev_state->savebuf);
- dev_state->savebuf = (PCHAR_INFO) cmalloc (HEAP_1_BUF, sizeof (CHAR_INFO) *
+ dev_state->savebuf = (PCHAR_INFO) cmalloc_abort (HEAP_1_BUF, sizeof (CHAR_INFO) *
dev_state->savebufsiz.X * dev_state->savebufsiz.Y);
ReadConsoleOutputA (get_output_handle (), dev_state->savebuf,