]> granicus.if.org Git - transmission/commitdiff
(trunk gtk) #3876 "Give filesize its own column in the Files tree" -- fix minor memor...
authorJordan Lee <jordan@transmissionbt.com>
Tue, 1 Feb 2011 17:42:50 +0000 (17:42 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Tue, 1 Feb 2011 17:42:50 +0000 (17:42 +0000)
r11642 allocated a pango font description with pango_font_description_copy() but never freed it.

gtk/file-list.c

index 5a32976205b1f44fb5af99824f12710727b31a8a..b263433f980d159a97f2d2435f0dadac2164c2a0 100644 (file)
@@ -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;
 }