From 69b5854b023b21ef76a509d334694a780014aed6 Mon Sep 17 00:00:00 2001 From: Michael Elkins Date: Wed, 15 Sep 2010 10:05:07 -0700 Subject: [PATCH] suppress check_sec errors --- safe_asprintf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/safe_asprintf.c b/safe_asprintf.c index 7aad3d4b..e92efc1b 100644 --- a/safe_asprintf.c +++ b/safe_asprintf.c @@ -47,7 +47,7 @@ int safe_asprintf (char **strp, const char *fmt, ...) if (n == 0) { /* Mutt convention is to use NULL for 0-length strings */ - FREE (strp); + FREE (strp); /* __FREE_CHECKED__ */ } return n; @@ -70,7 +70,7 @@ int safe_asprintf (char **strp, const char *fmt, ...) va_end (ap); if (n < 0) { - FREE (strp); + FREE (strp); /* __FREE_CHECKED__ */ return n; } @@ -80,7 +80,7 @@ int safe_asprintf (char **strp, const char *fmt, ...) * include the terminal nul char. */ if (n == 0) /* convention is to use NULL for zero-length strings. */ - FREE (strp); + FREE (strp); /* __FREE_CHECKED__ */ else if (n != rlen - 1) safe_realloc (strp, n + 1); return n; -- 2.49.0