1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-24 23:12:35 +00:00

(trunk gtk) "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.
This commit is contained in:
Jordan Lee 2011-02-01 17:42:50 +00:00
parent 8f69a33c79
commit 705b27d128

View 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;
}