Changeset 11469


Ignore:
Timestamp:
Dec 5, 2010, 6:39:14 PM (11 years ago)
Author:
charles
Message:

(2.0x libtransmission) backport r11226 for #3566 "Memory leak in libtransmission/torrent.c: refreshCurrentDir()"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0x/libtransmission/torrent.c

    r11468 r11469  
    27992799{
    28002800    const char * dir = NULL;
    2801     char * sub;
    28022801
    28032802    if( tor->incompleteDir == NULL )
     
    28052804    else if( !tr_torrentHasMetadata( tor ) ) /* no files to find */
    28062805        dir = tor->incompleteDir;
    2807     else if( !tr_torrentFindFile2( tor, 0, &dir, &sub ) )
     2806    else if( !tr_torrentFindFile2( tor, 0, &dir, NULL ) )
    28082807        dir = tor->incompleteDir;
    28092808
Note: See TracChangeset for help on using the changeset viewer.