Changeset 2118


Ignore:
Timestamp:
Jun 17, 2007, 5:02:43 AM (15 years ago)
Author:
charles
Message:

fix another crash-on-abort

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/file_selection/libtransmission/makemeta.c

    r2116 r2118  
    264264    assert( b->abortFlag || (walk-ret == (int)(SHA_DIGEST_LENGTH*b->pieceCount)) );
    265265    assert( b->abortFlag || !totalRemain );
    266     assert( fp == NULL );
     266    assert( b->abortFlag || fp == NULL );
     267
     268    if( fp != NULL )
     269        fclose( fp );
    267270
    268271    free( buf );
Note: See TracChangeset for help on using the changeset viewer.