summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/fe-gtk/fe-gtk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fe-gtk/fe-gtk.c b/src/fe-gtk/fe-gtk.c
index fbaf677b..706ab776 100644
--- a/src/fe-gtk/fe-gtk.c
+++ b/src/fe-gtk/fe-gtk.c
@@ -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;
 	}