From ee4388c4200ed46ebeb8509f6dd204a6476017dc Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 26 Nov 2007 21:30:49 +0000 Subject: Change many cygheap allocation routines to their *_abort analogs. * cygheap.cc (cmalloc_abort): New function. (crealloc_abort): Ditto. (ccalloc_abort): Ditto. --- winsup/cygwin/hookapi.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/hookapi.cc') diff --git a/winsup/cygwin/hookapi.cc b/winsup/cygwin/hookapi.cc index 76271ef83..7f8917a71 100644 --- a/winsup/cygwin/hookapi.cc +++ b/winsup/cygwin/hookapi.cc @@ -107,7 +107,7 @@ RedirectIAT (function_hook& fh, PIMAGE_IMPORT_DESCRIPTOR pImportDesc, hook_chain *hc; for (hc = &cygheap->hooks; hc->next; hc = hc->next) continue; - hc->next = (hook_chain *) cmalloc (HEAP_1_HOOK, sizeof (hook_chain)); + hc->next = (hook_chain *) cmalloc_abort (HEAP_1_HOOK, sizeof (hook_chain)); hc->next->loc = (void **) pi; hc->next->func = fh.hookfn; hc->next->next = NULL; -- cgit v1.2.3