diff options
author | Christopher Faylor <me@cgf.cx> | 2007-11-26 21:30:49 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2007-11-26 21:30:49 +0000 |
commit | ee4388c4200ed46ebeb8509f6dd204a6476017dc (patch) | |
tree | 55fd4f1c7f8e169eb4aad0c646333be0cc2a1da3 /winsup/cygwin/spawn.cc | |
parent | 32cba6cb3a8366df854ba24ece2a60f1b2f872a3 (diff) | |
download | cygnal-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/spawn.cc')
-rw-r--r-- | winsup/cygwin/spawn.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/spawn.cc b/winsup/cygwin/spawn.cc index 254cc060b..6e30b0530 100644 --- a/winsup/cygwin/spawn.cc +++ b/winsup/cygwin/spawn.cc @@ -333,7 +333,7 @@ spawn_guts (const char * prog_arg, const char *const *argv, else chtype = PROC_EXEC; - moreinfo = (cygheap_exec_info *) ccalloc (HEAP_1_EXEC, 1, sizeof (cygheap_exec_info)); + moreinfo = (cygheap_exec_info *) ccalloc_abort (HEAP_1_EXEC, 1, sizeof (cygheap_exec_info)); moreinfo->old_title = NULL; /* CreateProcess takes one long string that is the command line (sigh). |