Ignore:
Timestamp:
Jan 2, 2009, 5:01:55 PM (13 years ago)
Author:
charles
Message:

(trunk libT) avoid some unnecessary memory fragmentation... for composited objects that have a tr_completion, contain the it directly rather than a pointer to one allocated elsewhere on the heap.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/verify.c

    r7559 r7578  
    8787        else if( !tr_torrentIsPieceChecked( tor, i ) )
    8888        {
    89             const int wasComplete = tr_cpPieceIsComplete( tor->completion, i );
     89            const int wasComplete = tr_cpPieceIsComplete( &tor->completion, i );
    9090
    9191            if( tr_ioTestPiece( tor, i, buffer, buflen ) ) /* yay */
Note: See TracChangeset for help on using the changeset viewer.