Changeset 3972


Ignore:
Timestamp:
Nov 26, 2007, 5:03:34 AM (15 years ago)
Author:
charles
Message:

fix crash on startup reported by Gimp_

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.9x/libtransmission/utils.c

    r3899 r3972  
    679679    char * out = NULL;
    680680
    681     if( in != NULL )
     681    if( len < 0 )
     682    {
     683        out = tr_strdup( in );
     684    }
     685    else if( in != NULL )
    682686    {
    683687        out = tr_malloc( len+1 );
Note: See TracChangeset for help on using the changeset viewer.