mirror of
https://github.com/transmission/transmission
synced 2025-02-25 15:32:33 +00:00
(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.
This commit is contained in:
parent
8f69a33c79
commit
705b27d128
1 changed files with 1 additions and 0 deletions
|
@ -1040,5 +1040,6 @@ gtr_file_list_new( TrCore * core, int torrentId )
|
||||||
g_object_set_data_full( G_OBJECT( ret ), "file-data", data, freeData );
|
g_object_set_data_full( G_OBJECT( ret ), "file-data", data, freeData );
|
||||||
gtr_file_list_set_torrent( ret, torrentId );
|
gtr_file_list_set_torrent( ret, torrentId );
|
||||||
|
|
||||||
|
pango_font_description_free( pango_font_description );
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue