summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/map_symbol.c
blob: bef5079f24033fd1d4092bdb0d6fe1af8c2a74fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// SPDX-License-Identifier: GPL-2.0
#include "map_symbol.h"
#include "maps.h"
#include "map.h"

void map_symbol__exit(struct map_symbol *ms)
{
	maps__zput(ms->maps);
	map__zput(ms->map);
}

void addr_map_symbol__exit(struct addr_map_symbol *ams)
{
	map_symbol__exit(&ams->ms);
}