Changeset 7219


Ignore:
Timestamp:
Dec 1, 2008, 5:57:59 AM (12 years ago)
Author:
charles
Message:

(libT) fix a small pex memory leak

File:
1 edited

Legend:

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

    r7218 r7219  
    17921792            msgs->pexCount, newCount, diffs.addedCount, diffs.droppedCount );
    17931793
    1794         if( diffs.addedCount || diffs.droppedCount )
     1794        if( !diffs.addedCount && !diffs.droppedCount )
     1795        {
     1796            tr_free( diffs.elements );
     1797        }
     1798        else
    17951799        {
    17961800            int  i;
Note: See TracChangeset for help on using the changeset viewer.