(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:
Charles Kerr 2010-09-23 17:20:05 +00:00
parent 6e62d0d99d
commit c721052abb
1 changed files with 3 additions and 0 deletions

View File

@ -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 ) )