xref: /linux/tools/perf/util/map_symbol.c (revision 4b132aacb0768ac1e652cf517097ea6f237214b9)
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