Changeset 2870


Ignore:
Timestamp:
Aug 19, 2007, 3:42:58 AM (15 years ago)
Author:
charles
Message:

...and, yet another memory leak, this time when trying to add a torrent that can't be added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r2843 r2870  
    418418        ret = infoCanAdd( h, destination, setme_info );
    419419
    420     /* if we allocated a temporary info, free it */
    421     if( !ret && ( setme_info == &tmp ) )
     420    if( setme_info == &tmp )
    422421        tr_metainfoFree( &tmp );
    423422
     
    474473    return ret;
    475474}
    476 
    477475
    478476tr_torrent_t *
Note: See TracChangeset for help on using the changeset viewer.