From 309f1d356261fc7df70f320e070a758886ccdd44 Mon Sep 17 00:00:00 2001 From: Richard Hitt Date: Thu, 26 Jul 2012 08:58:00 +0200 Subject: Fix memory leak in lastlog --- src/fe-gtk/fe-gtk.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/fe-gtk') 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; } -- cgit 1.4.1