Show
Ignore:
Timestamp:
02/16/10 00:39:55 (2 years ago)
Author:
Carsten
Message:

Applied patches by Ettl Martin for fixing memory leaks in lwo library.
Closes #7 and #8.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cafu/trunk/ExtLibs/lwo/lwio.c

    r31 r46  
    295295   if ( fseek( fp, pos, SEEK_SET )) { 
    296296      flen = FLEN_ERROR; 
     297      free(s); 
    297298      return NULL; 
    298299   } 
    299300   if ( 1 != fread( s, len, 1, fp )) { 
    300301      flen = FLEN_ERROR; 
     302      free(s); 
    301303      return NULL; 
    302304   }