diff options
author | Sverker Eriksson <[email protected]> | 2013-04-02 14:52:53 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2013-04-02 14:53:07 +0200 |
commit | 6c04513724fa301a449b6b16e1f7a88fa02a8a0e (patch) | |
tree | e9543e28d324a61c5468ffc57c83e9d2f71daacb /erts/emulator | |
parent | 9b120d4291cc03d34cac5f6dec42e81bd63704af (diff) | |
parent | 144eef62208fcf6a3750504eabb27a03a4985955 (diff) | |
download | otp-6c04513724fa301a449b6b16e1f7a88fa02a8a0e.tar.gz otp-6c04513724fa301a449b6b16e1f7a88fa02a8a0e.tar.bz2 otp-6c04513724fa301a449b6b16e1f7a88fa02a8a0e.zip |
Merge branch 'sverk/meta-trace-leak' into maint
* sverk/meta-trace-leak:
erts: Fix memleak related to meta tracing
OTP-10997
Diffstat (limited to 'erts/emulator')
-rw-r--r-- | erts/emulator/beam/beam_bp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/beam_bp.c b/erts/emulator/beam/beam_bp.c index 9b17de34ec..ce025c9b6d 100644 --- a/erts/emulator/beam/beam_bp.c +++ b/erts/emulator/beam/beam_bp.c @@ -1580,6 +1580,7 @@ clear_function_break(BeamInstr *pc, Uint break_flags) } if (common & ERTS_BPF_META_TRACE) { MatchSetUnref(bp->meta_ms); + bp_meta_unref(bp->meta_pid); } if (common & ERTS_BPF_COUNT) { ASSERT((bp->flags & ERTS_BPF_COUNT_ACTIVE) == 0); |