diff options
Diffstat (limited to 'tools/perf/util/symbol.c')
-rw-r--r-- | tools/perf/util/symbol.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index 0ada68b3b096..95e249779931 100644 --- a/tools/perf/util/symbol.c +++ b/tools/perf/util/symbol.c | |||
@@ -1384,6 +1384,8 @@ int dso__load(struct dso *dso, struct map *map, symbol_filter_t filter) | |||
1384 | 1384 | ||
1385 | if (syms_ss && runtime_ss) | 1385 | if (syms_ss && runtime_ss) |
1386 | break; | 1386 | break; |
1387 | } else { | ||
1388 | symsrc__destroy(ss); | ||
1387 | } | 1389 | } |
1388 | 1390 | ||
1389 | } | 1391 | } |