aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2013-02-28 16:22:30 +0100
committerSverker Eriksson <[email protected]>2013-02-28 17:00:50 +0100
commit144eef62208fcf6a3750504eabb27a03a4985955 (patch)
tree8f8e438070b7f86d3be8cf0e8a72474dfb31569c /erts/emulator/beam
parent8deb96fb1d017307e22d2ab88968b9ef9f1b71d0 (diff)
downloadotp-144eef62208fcf6a3750504eabb27a03a4985955.tar.gz
otp-144eef62208fcf6a3750504eabb27a03a4985955.tar.bz2
otp-144eef62208fcf6a3750504eabb27a03a4985955.zip
erts: Fix memleak related to meta tracing
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r--erts/emulator/beam/beam_bp.c1
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);