changeset 28709:65e8c39cc5f6

Leak fix.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Thu, 08 Oct 2009 17:41:41 +0000
parents caef0d8dcb04
children fe49bedd5aee
files finch/libgnt/gntbox.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)