Revision e0fa7ab42232e742dcb3de9f3c1f6127b5adc019 authored by Riccardo Mancini on 15 July 2021, 16:07:25 UTC, committed by Arnaldo Carvalho de Melo on 18 July 2021, 12:27:37 UTC
ASan reports some memory leaks when running: # perf test "42: BPF filter" This second leak is caused by a strlist not being dellocated on error inside probe_file__del_events. This patch adds a goto label before the deallocation and makes the error path jump to it. Signed-off-by: Riccardo Mancini <rickyman7@gmail.com> Fixes: e7895e422e4da63d ("perf probe: Split del_perf_probe_events()") Cc: Ian Rogers <irogers@google.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lore.kernel.org/lkml/174963c587ae77fa108af794669998e4ae558338.1626343282.git.rickyman7@gmail.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 937654c
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 2.3 KB |
Makefile | -rw-r--r-- | 275 bytes |
compat.h | -rw-r--r-- | 811 bytes |
dquot.c | -rw-r--r-- | 78.9 KB |
kqid.c | -rw-r--r-- | 3.2 KB |
netlink.c | -rw-r--r-- | 2.8 KB |
quota.c | -rw-r--r-- | 27.6 KB |
quota_tree.c | -rw-r--r-- | 18.2 KB |
quota_tree.h | -rw-r--r-- | 728 bytes |
quota_v1.c | -rw-r--r-- | 6.6 KB |
quota_v2.c | -rw-r--r-- | 12.6 KB |
quotaio_v1.h | -rw-r--r-- | 1.4 KB |
quotaio_v2.h | -rw-r--r-- | 2.6 KB |
Computing file changes ...