(trunk gtk) fix minor memory leak that may or may not be related to https://bugs.launchpad.net/ubuntu/+source/transmission/+bug/630679
This commit is contained in:
parent
6e62d0d99d
commit
c721052abb
|
@ -1987,6 +1987,9 @@ refreshTracker( struct DetailsImpl * di, tr_torrent ** torrents, int n )
|
|||
di->trackers_filtered = filter;
|
||||
|
||||
gtk_tree_view_set_model( GTK_TREE_VIEW( di->tracker_view ), filter );
|
||||
|
||||
g_object_unref( filter );
|
||||
g_object_unref( store );
|
||||
}
|
||||
|
||||
if( ( di->tracker_buffer == NULL ) && ( n == 1 ) )
|
||||
|
|
Loading…
Reference in New Issue