diff options
author | Sverker Eriksson <[email protected]> | 2016-03-03 19:34:50 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2016-05-04 19:53:36 +0200 |
commit | 4a4475dea3ab0daf29f9a49ce845fa062387362a (patch) | |
tree | 00bd0d6579ae1c3990fd6f8170ba4ce41a3746b8 /erts/emulator/beam/beam_bp.c | |
parent | af2a4c5a40c62da775caa92df5164fbee08b9245 (diff) | |
download | otp-4a4475dea3ab0daf29f9a49ce845fa062387362a.tar.gz otp-4a4475dea3ab0daf29f9a49ce845fa062387362a.tar.bz2 otp-4a4475dea3ab0daf29f9a49ce845fa062387362a.zip |
erts: Add match spec for send trace
Diffstat (limited to 'erts/emulator/beam/beam_bp.c')
-rw-r--r-- | erts/emulator/beam/beam_bp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/erts/emulator/beam/beam_bp.c b/erts/emulator/beam/beam_bp.c index c4b9259d64..1e30e8d8d1 100644 --- a/erts/emulator/beam/beam_bp.c +++ b/erts/emulator/beam/beam_bp.c @@ -248,7 +248,10 @@ erts_bp_match_export(BpFunctions* f, Eterm mfa[3], int specified) void erts_bp_free_matched_functions(BpFunctions* f) { - Free(f->matching); + if (f->matching) { + Free(f->matching); + } + else ASSERT(f->matched == 0); } void |