mirror of
https://github.com/transmission/transmission
synced 2025-02-22 22:20:39 +00:00
(trunk libT) possibly fix a crash-on-shutdown reported by John_
This commit is contained in:
parent
79035d3b83
commit
a2b8588206
1 changed files with 4 additions and 1 deletions
|
@ -1245,7 +1245,10 @@ onAnnounceDone( tr_session * session,
|
||||||
tierIncrementTracker( tier );
|
tierIncrementTracker( tier );
|
||||||
}
|
}
|
||||||
|
|
||||||
++announcer->announceSlotsAvailable;
|
if( announcer != NULL )
|
||||||
|
{
|
||||||
|
++announcer->announceSlotsAvailable;
|
||||||
|
}
|
||||||
|
|
||||||
tr_free( data );
|
tr_free( data );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue