Changeset 5148

Show
Ignore:
Timestamp:
01/04/08 13:27:12 (1 year ago)
Author:
morris
Message:

Fix crash if unable to open temporary file

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • libwired/trunk/libwired/system/wi-log.c

    r5054 r5148  
    253253 
    254254        file = wi_file_init_temporary_file(wi_file_alloc()); 
     255         
     256        if(!file) 
     257                goto end; 
     258         
    255259        tmp = fdopen(wi_file_descriptor(file), "w+"); 
    256260