From 2f1e3083ba11686b9d8ddf0300566ffc848d4386 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sat, 2 Aug 2025 13:04:57 +0200 Subject: [PATCH] unit2604.c fix to abort on failed alloc --- tests/unit/unit2604.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/unit2604.c b/tests/unit/unit2604.c index 44a7726631..2657c37f76 100644 --- a/tests/unit/unit2604.c +++ b/tests/unit/unit2604.c @@ -76,7 +76,7 @@ static CURLcode test_unit2604(const char *arg) #endif char *cp0 = malloc(too_long + 1); - fail_unless(cp0, "could not alloc too long value"); + abort_unless(cp0, "could not alloc too long value"); memset(cp0, 'a', too_long); for(i = 0; list[i].home; i++) {