Commit fbf70c5f by Alan Mishchenko

Memory leak.

parent d7dfd06c
...@@ -136,8 +136,11 @@ Abc_Ntk_t * Abc_NtkBddToMuxes( Abc_Ntk_t * pNtk, int fGlobal, int Limit ) ...@@ -136,8 +136,11 @@ Abc_Ntk_t * Abc_NtkBddToMuxes( Abc_Ntk_t * pNtk, int fGlobal, int Limit )
if ( fGlobal ) if ( fGlobal )
{ {
if ( !Abc_NtkBddToMuxesPerformGlo( pNtk, pNtkNew, Limit ) ) if ( !Abc_NtkBddToMuxesPerformGlo( pNtk, pNtkNew, Limit ) )
{
Abc_NtkDelete( pNtkNew );
return NULL; return NULL;
} }
}
else else
{ {
Abc_NtkBddToMuxesPerform( pNtk, pNtkNew ); Abc_NtkBddToMuxesPerform( pNtk, pNtkNew );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment