# HG changeset patch
# User Sadrul Habib Chowdhury <imadil@gmail.com>
# Date 1255023701 0
# Node ID 65e8c39cc5f641e2e2db0d9dcc8634d37bbb83a2
# Parent  caef0d8dcb04da0bbf5c9d2087bee15ff943ef6a
Leak fix.

diff -r caef0d8dcb04 -r 65e8c39cc5f6 finch/libgnt/gntbox.c
--- a/finch/libgnt/gntbox.c	Thu Oct 08 15:32:04 2009 +0000
+++ b/finch/libgnt/gntbox.c	Thu Oct 08 17:41:41 2009 +0000
@@ -687,8 +687,8 @@
 		get_title_thingies(b, prev, &pos, &right);
 		mvwhline(w->window, 0, pos - 1, ACS_HLINE | gnt_color_pair(GNT_COLOR_NORMAL),
 				right - pos + 2);
-		g_free(prev);
 	}
+	g_free(prev);
 }
 
 void gnt_box_set_pad(GntBox *box, int pad)