diff options
Diffstat (limited to 'src/base/io/ioWriteBook.c')
-rw-r--r-- | src/base/io/ioWriteBook.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/base/io/ioWriteBook.c b/src/base/io/ioWriteBook.c index 9d0df473..45807ce6 100644 --- a/src/base/io/ioWriteBook.c +++ b/src/base/io/ioWriteBook.c @@ -117,6 +117,7 @@ void Io_WriteBook( Abc_Ntk_t * pNtk, char * FileName ) // write the aux file if ( (pFileNodes == NULL) || (pFileNets == NULL) || (pFileAux == NULL) ) { + fclose( pFileAux ); fprintf( stdout, "Io_WriteBook(): Cannot open the output files.\n" ); return; } |