diff --git a/[refs] b/[refs] index 253effe4bd25..61dd01186830 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 37073f9e449bc430e6c40b9cffc2558002a0256a +refs/heads/master: 378474e4b23183002f1791b294a4440b6b7df36a diff --git a/trunk/tools/perf/util/symbol.c b/trunk/tools/perf/util/symbol.c index 9d04dcd91815..3e2e5ea0f03f 100644 --- a/trunk/tools/perf/util/symbol.c +++ b/trunk/tools/perf/util/symbol.c @@ -2817,8 +2817,11 @@ int machine__load_vmlinux_path(struct machine *machine, enum map_type type, struct map *dso__new_map(const char *name) { + struct map *map = NULL; struct dso *dso = dso__new(name); - struct map *map = map__new2(0, dso, MAP__FUNCTION); + + if (dso) + map = map__new2(0, dso, MAP__FUNCTION); return map; }