Ignore:
Timestamp:
Sep 18, 2010, 9:57:22 PM (11 years ago)
Author:
charles
Message:

(trunk libT) #3566 "Memory leak in libtransmission/torrent.c: refreshCurrentDir()" -- fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r11206 r11226  
    29632963{
    29642964    const char * dir = NULL;
    2965     char * sub;
    29662965
    29672966    if( tor->incompleteDir == NULL )
     
    29692968    else if( !tr_torrentHasMetadata( tor ) ) /* no files to find */
    29702969        dir = tor->incompleteDir;
    2971     else if( !tr_torrentFindFile2( tor, 0, &dir, &sub ) )
     2970    else if( !tr_torrentFindFile2( tor, 0, &dir, NULL ) )
    29722971        dir = tor->incompleteDir;
    29732972
Note: See TracChangeset for help on using the changeset viewer.