1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 08:43:27 +00:00

fix minor shutdown leak

This commit is contained in:
Charles Kerr 2008-02-09 17:25:14 +00:00
parent 7cf9f8cc35
commit 991a9f1659

View file

@ -744,12 +744,17 @@ static void
torrent_cell_renderer_dispose( GObject * o )
{
TorrentCellRenderer * r = TORRENT_CELL_RENDERER( o );
GObjectClass * parent;
if( r && r->priv )
{
g_object_unref( G_OBJECT( r->priv->text_renderer ) );
g_object_unref( G_OBJECT( r->priv->text_renderer_err ) );
r->priv = NULL;
}
parent = g_type_class_peek( g_type_parent( TORRENT_CELL_RENDERER_TYPE ) );
parent->dispose( o );
}
static void