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