mirror of https://github.com/YosysHQ/abc.git
Fixed memory leak in the AIGER reader.
This commit is contained in:
parent
73702835c6
commit
97b488e72e
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in New Issue