Plug memory leak

This commit is contained in:
Todd C. Miller
2010-08-20 14:24:07 -04:00
parent 3d48cae18c
commit a2694e9e26

View File

@@ -105,4 +105,5 @@ _warning(int use_errno, const char *fmt, va_list ap)
msg[nmsgs - 1].msg = "\n"; msg[nmsgs - 1].msg = "\n";
memset(&repl, 0, sizeof(repl)); memset(&repl, 0, sizeof(repl));
sudo_conv(nmsgs, msg, repl); sudo_conv(nmsgs, msg, repl);
efree(str);
} }