From 705b27d1283fcdb4adf88a53ff17f3ddc0b2b5dd Mon Sep 17 00:00:00 2001 From: Jordan Lee Date: Tue, 1 Feb 2011 17:42:50 +0000 Subject: [PATCH] (trunk gtk) #3876 "Give filesize its own column in the Files tree" -- fix minor memory leak introduced by r11642 r11642 allocated a pango font description with pango_font_description_copy() but never freed it. --- gtk/file-list.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/file-list.c b/gtk/file-list.c index 5a3297620..b263433f9 100644 --- a/gtk/file-list.c +++ b/gtk/file-list.c @@ -1040,5 +1040,6 @@ gtr_file_list_new( TrCore * core, int torrentId ) g_object_set_data_full( G_OBJECT( ret ), "file-data", data, freeData ); gtr_file_list_set_torrent( ret, torrentId ); + pango_font_description_free( pango_font_description ); return ret; }