diff options
author | Sverker Eriksson <[email protected]> | 2017-03-08 14:41:54 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2017-03-08 18:07:08 +0100 |
commit | 5cce8836ccffbaf71879b2efbb5788278e7f7e90 (patch) | |
tree | d05abaee56e6a8bacbe779518d6edd8ad226336e /erts/emulator/beam/external.c | |
parent | a52c18365acb5ed55793351ff3b3776a2a848503 (diff) | |
download | otp-5cce8836ccffbaf71879b2efbb5788278e7f7e90.tar.gz otp-5cce8836ccffbaf71879b2efbb5788278e7f7e90.tar.bz2 otp-5cce8836ccffbaf71879b2efbb5788278e7f7e90.zip |
erts: Fix faulty ASSERT for failed dec_term
when a recursive call to dec_term() has already done erts_factory_undo
and set factory->hp to NULL.
Diffstat (limited to 'erts/emulator/beam/external.c')
-rw-r--r-- | erts/emulator/beam/external.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/external.c b/erts/emulator/beam/external.c index 205a7711ec..186b250c7e 100644 --- a/erts/emulator/beam/external.c +++ b/erts/emulator/beam/external.c @@ -4010,7 +4010,7 @@ error: factory->hp = hp; /* the largest must be the freshest */ } } - else ASSERT(factory->hp == hp); + else ASSERT(!factory->hp || factory->hp == hp); error_hamt: erts_factory_undo(factory); |