Ignore:
Timestamp:
Apr 17, 2008, 7:54:22 PM (14 years ago)
Author:
charles
Message:

fix a couple more minor leaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/makemeta.c

    r5585 r5636  
    168168tr_metaInfoBuilderFree( tr_metainfo_builder * builder )
    169169{
    170     if( builder != NULL )
     170    if( builder )
    171171    {
    172172        uint32_t i;
     
    483483    tr_lock * lock;
    484484
     485    /* free any variables from a previous run */
     486    tr_free( builder->announce );
     487    tr_free( builder->comment );
     488    tr_free( builder->outputFile );
     489
     490    /* initialize the builder variables */
    485491    builder->abortFlag = 0;
    486492    builder->isDone = 0;
Note: See TracChangeset for help on using the changeset viewer.