Ignore:
Timestamp:
Jul 7, 2006, 11:13:51 PM (16 years ago)
Author:
joshe
Message:

Fix a couple more memory leaks in edge cases.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/metainfo.c

    r405 r547  
    205205        fprintf( stderr, "Invalid \"piece\" string (size is %d)\n",
    206206                 val->val.s.i );
     207        tr_bencFree( &meta );
    207208        return 1;
    208209    }
     
    262263    {
    263264        fprintf( stderr, "Size of hashes and files don't match\n" );
     265        free( inf->pieces );
    264266        tr_bencFree( &meta );
    265267        return 1;
Note: See TracChangeset for help on using the changeset viewer.