diff --git a/[refs] b/[refs] index dd81cc0aabe6..5f622b272624 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c2fbaa4b489b738cd9e7666edfeceaaa38e71c9f +refs/heads/master: 37fe5fcb7a5b5235c8b71bf5469ce4c7246e3fab diff --git a/trunk/tools/perf/util/symbol.c b/trunk/tools/perf/util/symbol.c index ee9c37efdd36..320b15178e95 100644 --- a/trunk/tools/perf/util/symbol.c +++ b/trunk/tools/perf/util/symbol.c @@ -527,7 +527,7 @@ static int dso__split_kallsyms(struct dso *self, struct map *map, return -1; curr_map = map__new2(pos->start, dso, map->type); - if (map == NULL) { + if (curr_map == NULL) { dso__delete(dso); return -1; }