mirror of
https://github.com/transmission/transmission
synced 2024-12-23 08:13:27 +00:00
(gtk) fix double-free under certain circumstances in the new 'open' dialog
This commit is contained in:
parent
3b97af8766
commit
a2744be2d6
1 changed files with 0 additions and 1 deletions
|
@ -40,7 +40,6 @@ deleteOldTorrent( struct OpenData * data )
|
||||||
|
|
||||||
tor = tr_torrent_handle( data->gtor );
|
tor = tr_torrent_handle( data->gtor );
|
||||||
tr_torrentRemoveSaved( tor );
|
tr_torrentRemoveSaved( tor );
|
||||||
tr_torrentClose( tor );
|
|
||||||
|
|
||||||
g_object_unref( G_OBJECT( data->gtor ) );
|
g_object_unref( G_OBJECT( data->gtor ) );
|
||||||
data->gtor = NULL;
|
data->gtor = NULL;
|
||||||
|
|
Loading…
Reference in a new issue