diff options
-rw-r--r-- | usr.bin/sudo/logging.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/sudo/logging.c b/usr.bin/sudo/logging.c index 327860bea0f..41873a28f24 100644 --- a/usr.bin/sudo/logging.c +++ b/usr.bin/sudo/logging.c @@ -386,7 +386,7 @@ log_error(va_alist) do_logfile(logline); free(logline); - if (message != logline); + if (message != logline) free(message); if (!(flags & NO_EXIT)) |