Fix memory leak in lastlog
This commit is contained in:
parent
ead7f234e5
commit
309f1d3562
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue