Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf jitdump: Fix missed dso__put

Reference count checking caught a missing dso__put following a
machine__findnew_dso_id.

Signed-off-by: Ian Rogers <irogers@google.com>
Reviewed-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>

authored by

Ian Rogers and committed by
Namhyung Kim
1da7c10b 69d24729

+2
+2
tools/perf/util/jitdump.c
··· 547 547 548 548 if (dso) 549 549 dso__set_hit(dso); 550 + 551 + dso__put(dso); 550 552 } 551 553 out: 552 554 perf_sample__exit(&sample);