(gtk) fix weak unref cycle, also from r5015

This commit is contained in:
Charles Kerr 2008-02-13 03:43:05 +00:00
parent d3f07578e2
commit 148b44a83e
1 changed files with 1 additions and 3 deletions

View File

@ -374,9 +374,7 @@ static void
torrentDestroyed( gpointer gdata, GObject * deadTorrent UNUSED )
{
FileData * data = gdata;
g_object_weak_unref( G_OBJECT( data->gtor ), torrentDestroyed, data );
data->gtor = NULL;
file_list_set_torrent( data->top, NULL );
}