From: Joel Rosdahl Date: Tue, 2 Oct 2018 18:31:01 +0000 (+0200) Subject: Remove bogus out-of-memory check in reformat() X-Git-Tag: v3.5~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1592525285e4f68a3d59480c5eb2622f8648646;p=thirdparty%2Fccache.git Remove bogus out-of-memory check in reformat() --- 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); }