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