From 144eef62208fcf6a3750504eabb27a03a4985955 Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Thu, 28 Feb 2013 16:22:30 +0100 Subject: erts: Fix memleak related to meta tracing --- erts/emulator/beam/beam_bp.c | 1 + 1 file changed, 1 insertion(+) (limited to 'erts') 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); -- cgit v1.2.3