diff options
Diffstat (limited to 'src/base/io/ioReadBlifAig.c')
-rw-r--r-- | src/base/io/ioReadBlifAig.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/base/io/ioReadBlifAig.c b/src/base/io/ioReadBlifAig.c index caa776f9..1ef61196 100644 --- a/src/base/io/ioReadBlifAig.c +++ b/src/base/io/ioReadBlifAig.c @@ -444,6 +444,7 @@ static char * Io_BlifLoadFile( char * pFileName ) nFileSize = ftell( pFile ); if ( nFileSize == 0 ) { + fclose( pFile ); printf( "Io_BlifLoadFile(): The file is empty.\n" ); return NULL; } |