Fixed memory leak in the AIGER reader.

This commit is contained in:
Alan Mishchenko 2011-07-13 10:50:36 +07:00
parent 73702835c6
commit 97b488e72e
1 changed files with 1 additions and 0 deletions

View File

@ -843,6 +843,7 @@ Gia_Man_t * Gia_ReadAiger( char * pFileName, int fCheck )
ABC_FREE( pContents );
if ( pNew )
{
ABC_FREE( pNew->pName );
pName = Gia_FileNameGeneric( pFileName );
pNew->pName = Gia_UtilStrsav( pName );
// pNew->pSpec = Ioa_UtilStrsav( pFileName );