diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2007-11-30 08:01:00 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2007-11-30 08:01:00 -0800 |
commit | 369f008e69a4f201cbc7c890a08221086bee4698 (patch) | |
tree | 6dbc56239d2c6cf916c660327525b19773a9907c /src/base/io/io.c | |
parent | 765a21240891735a844dd64d1d73789ae6e55bc6 (diff) | |
download | abc-369f008e69a4f201cbc7c890a08221086bee4698.tar.gz abc-369f008e69a4f201cbc7c890a08221086bee4698.tar.bz2 abc-369f008e69a4f201cbc7c890a08221086bee4698.zip |
Version abc71130
Diffstat (limited to 'src/base/io/io.c')
-rw-r--r-- | src/base/io/io.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/base/io/io.c b/src/base/io/io.c index 941ef7a7..ed314fcd 100644 --- a/src/base/io/io.c +++ b/src/base/io/io.c @@ -348,6 +348,8 @@ int IoCommandReadBlif( Abc_Frame_t * pAbc, int argc, char ** argv ) { Abc_Ntk_t * pTemp; pNtk = Io_ReadBlif( pFileName, fCheck ); + if ( pNtk == NULL ) + return 1; pNtk = Abc_NtkToLogic( pTemp = pNtk ); Abc_NtkDelete( pTemp ); } |