diff options
Diffstat (limited to 'source/lib/snprintf.c')
-rw-r--r-- | source/lib/snprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/snprintf.c b/source/lib/snprintf.c index 88eea2824be..8455847f065 100644 --- a/source/lib/snprintf.c +++ b/source/lib/snprintf.c @@ -820,7 +820,7 @@ static void dopr_outch(char *buffer, size_t *currlen, size_t maxlen, char c) if (!msg) return; syslog(facility_priority, "%s", msg); - free(msg); + SAFE_FREE(msg); } #endif /* HAVE_SYSLOG */ #endif /* HAVE_VSYSLOG */ |