Ignore:
Timestamp:
Apr 27, 2011, 4:12:17 PM (11 years ago)
Author:
jordan
Message:

(trunk libT) use tr_malloc() instead of malloc() in tr_loadFile() and in the fallback code for tr_valloc()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/utils.c

    r12324 r12383  
    462462        return NULL;
    463463    }
    464     buf = malloc( sb.st_size + 1 );
     464    buf = tr_malloc( sb.st_size + 1 );
    465465    if( !buf )
    466466    {
     
    15791579#endif
    15801580    if( !buf )
    1581         buf = malloc( allocLen );
     1581        buf = tr_malloc( allocLen );
    15821582
    15831583    return buf;
Note: See TracChangeset for help on using the changeset viewer.