From e1592525285e4f68a3d59480c5eb2622f8648646 Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Tue, 2 Oct 2018 20:31:01 +0200 Subject: [PATCH] Remove bogus out-of-memory check in reformat() --- src/util.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/util.c b/src/util.c index 40e553ea4..f4c1c7ef5 100644 --- a/src/util.c +++ b/src/util.c @@ -829,9 +829,6 @@ reformat(char **ptr, const char *format, ...) } va_end(ap); - if (!ptr) { - fatal("Out of memory in reformat"); - } if (saved) { free(saved); } -- 2.47.2