diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2020-04-17 09:54:17 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2020-04-17 09:54:17 -0700 |
commit | fbf70c5fbb37fbf55faa82af245560bba1db10ea (patch) | |
tree | 87b449870bd7553810e2777685aec0fe408cb04b /src | |
parent | d7dfd06ca128817ea7ea227cf88907bc7b9dc46b (diff) | |
download | abc-fbf70c5fbb37fbf55faa82af245560bba1db10ea.tar.gz abc-fbf70c5fbb37fbf55faa82af245560bba1db10ea.tar.bz2 abc-fbf70c5fbb37fbf55faa82af245560bba1db10ea.zip |
Memory leak.
Diffstat (limited to 'src')
-rw-r--r-- | src/base/abci/abcNtbdd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/base/abci/abcNtbdd.c b/src/base/abci/abcNtbdd.c index fc926857..d3a19d83 100644 --- a/src/base/abci/abcNtbdd.c +++ b/src/base/abci/abcNtbdd.c @@ -136,7 +136,10 @@ Abc_Ntk_t * Abc_NtkBddToMuxes( Abc_Ntk_t * pNtk, int fGlobal, int Limit ) if ( fGlobal ) { if ( !Abc_NtkBddToMuxesPerformGlo( pNtk, pNtkNew, Limit ) ) + { + Abc_NtkDelete( pNtkNew ); return NULL; + } } else { |