Commit 309f1d35 authored by Richard Hitt's avatar Richard Hitt Committed by Berke Viktor

Fix memory leak in lastlog

parent ead7f234
......@@ -737,6 +737,7 @@ fe_lastlog (session *sess, session *lastlog_sess, char *sstr, gboolean regexp)
if (err)
{
PrintText (lastlog_sess, _(err->message));
g_error_free (err);
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment