pidgin: 68015dbc: Leak fix.

sadrul at pidgin.im sadrul at pidgin.im
Thu Oct 8 20:07:39 EDT 2009


-----------------------------------------------------------------
Revision: 68015dbcfc3b6e827d4a8a4eebc1632d932f2c63
Ancestor: 74bb0c515027bed84d59449a2f448786868d4c4b
Author: sadrul at pidgin.im
Date: 2009-10-08T17:41:41
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/68015dbcfc3b6e827d4a8a4eebc1632d932f2c63

Modified files:
        finch/libgnt/gntbox.c

ChangeLog: 

Leak fix.

-------------- next part --------------
============================================================
--- finch/libgnt/gntbox.c	f5e9556c140cff7a623223a82ca70f8b1b5ac1b6
+++ finch/libgnt/gntbox.c	5e70754286c228776d9bac42e014f9eaf4964a82
@@ -687,8 +687,8 @@ void gnt_box_set_title(GntBox *b, const 
 		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)


More information about the Commits mailing list