summaryrefslogtreecommitdiff
path: root/poptconfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'poptconfig.c')
-rw-r--r--poptconfig.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/poptconfig.c b/poptconfig.c
index ad33eba..ef6c1ce 100644
--- a/poptconfig.c
+++ b/poptconfig.c
@@ -325,6 +325,7 @@ static int poptConfigLine(poptContext con, char * line)
/* Append remaining text to the interpolated file option text. */
if (*se != '\0') {
size_t nse = strlen(se) + 1;
+ /* cppcheck-suppress memleakOnRealloc */
if ((b = (char*) realloc(b, (nb + nse))) == NULL) /* XXX can't happen */
goto exit;
(void) stpcpy( stpcpy(&b[nb-1], " "), se);