mirror of
https://github.com/transmission/transmission
synced 2025-02-03 13:03:50 +00:00
(gtk) fix new bug in the details dialog that only manifests itself when you scroll through lots of torrents at once
This commit is contained in:
parent
05db7dd246
commit
7f1fe69815
1 changed files with 2 additions and 1 deletions
|
@ -1417,7 +1417,8 @@ refreshWebseedList( struct DetailsImpl * di, tr_torrent ** torrents, int n )
|
|||
else {
|
||||
char * key;
|
||||
gtk_tree_model_get( model, &iter, WEBSEED_COL_KEY, &key, -1 );
|
||||
g_hash_table_remove( hash, key );
|
||||
if( key != NULL )
|
||||
g_hash_table_remove( hash, key );
|
||||
more = gtk_list_store_remove( store, &iter );
|
||||
g_free( key );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue