Fix memory leak in lastlog

This commit is contained in:
Richard Hitt 2012-07-26 08:58:00 +02:00 committed by Berke Viktor
parent ead7f234e5
commit 309f1d3562
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}