X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=tools%2Fperf%2Futil%2Fmap.c;h=72e7f3616157ead4e7de909d62a210e12aa5ef97;hb=d842bc6c0579ca7643eed029beabab3ac562a335;hp=8af693d9678cefe06ffa322e4913437fb04beb36;hpb=5d6a1b84e07607bc282ed2ed8e2f128c73697d5c;p=linux-2.6-microblaze.git diff --git a/tools/perf/util/map.c b/tools/perf/util/map.c index 8af693d9678c..72e7f3616157 100644 --- a/tools/perf/util/map.c +++ b/tools/perf/util/map.c @@ -192,6 +192,8 @@ struct map *map__new(struct machine *machine, u64 start, u64 len, if (!(prot & PROT_EXEC)) dso__set_loaded(dso); } + + nsinfo__put(dso->nsinfo); dso->nsinfo = nsi; if (build_id__is_defined(bid))