Changeset 12084


Ignore:
Timestamp:
Mar 4, 2011, 4:45:12 AM (11 years ago)
Author:
jordan
Message:

(trunk libT) fix peerDestruct() crash when peer doesn't have a corresponding atom

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-mgr.c

    r12074 r12084  
    447447    tr_bitfieldFree( peer->blame );
    448448    tr_free( peer->client );
    449     peer->atom->peer = NULL;
     449
     450    if( peer->atom )
     451        peer->atom->peer = NULL;
    450452}
    451453
Note: See TracChangeset for help on using the changeset viewer.