xref: /linux/tools/perf/util/map_symbol.c (revision dbcedec3a31119d7594baacc743300d127c99c56)
1 // SPDX-License-Identifier: GPL-2.0
2 #include "map_symbol.h"
3 #include "maps.h"
4 #include "map.h"
5 
6 void map_symbol__exit(struct map_symbol *ms)
7 {
8 	maps__zput(ms->maps);
9 	map__zput(ms->map);
10 }
11 
12 void addr_map_symbol__exit(struct addr_map_symbol *ams)
13 {
14 	map_symbol__exit(&ams->ms);
15 }
16