summary refs log tree commit diff stats
path: root/src/fe-gtk/fe-gtk.c
diff options
context:
space:
mode:
authorRichard Hitt <rbh00@netcom.com>2012-07-26 08:58:00 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-07-26 08:58:00 +0200
commit309f1d356261fc7df70f320e070a758886ccdd44 (patch)
tree654ea466801ed58afff8afd0e45807de2f67ee52 /src/fe-gtk/fe-gtk.c
parentead7f234e5e993eea7cf2f0e0059e463acc926fd (diff)
Fix memory leak in lastlog
Diffstat (limited to 'src/fe-gtk/fe-gtk.c')
-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;
 	}