mirror of
https://github.com/transmission/transmission
synced 2025-01-31 11:23:40 +00:00
(trunk libT) one-liner fix for #2544 (launchpad 458735): crash in port forwarding if evtimer gets deleted
This commit is contained in:
parent
d60fa654cb
commit
ea072953c5
1 changed files with 2 additions and 1 deletions
|
@ -114,7 +114,8 @@ set_evtimer_from_status( tr_shared * s )
|
|||
break;
|
||||
}
|
||||
|
||||
tr_timerAdd( s->timer, sec, msec );
|
||||
if( s->timer != NULL )
|
||||
tr_timerAdd( s->timer, sec, msec );
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue