diff --git a/plugins/sudoers/plugin_error.c b/plugins/sudoers/plugin_error.c index 65d11433d..72f9a9711 100644 --- a/plugins/sudoers/plugin_error.c +++ b/plugins/sudoers/plugin_error.c @@ -105,4 +105,5 @@ _warning(int use_errno, const char *fmt, va_list ap) msg[nmsgs - 1].msg = "\n"; memset(&repl, 0, sizeof(repl)); sudo_conv(nmsgs, msg, repl); + efree(str); }