diff options
Diffstat (limited to 'tools/perf/util/dso.c')
-rw-r--r-- | tools/perf/util/dso.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/dso.c b/tools/perf/util/dso.c index a0c7c591f4b2..55c983586b05 100644 --- a/tools/perf/util/dso.c +++ b/tools/perf/util/dso.c | |||
@@ -465,9 +465,9 @@ void dso__delete(struct dso *dso) | |||
465 | int i; | 465 | int i; |
466 | for (i = 0; i < MAP__NR_TYPES; ++i) | 466 | for (i = 0; i < MAP__NR_TYPES; ++i) |
467 | symbols__delete(&dso->symbols[i]); | 467 | symbols__delete(&dso->symbols[i]); |
468 | if (dso->sname_alloc) | 468 | if (dso->short_name_allocated) |
469 | free((char *)dso->short_name); | 469 | free((char *)dso->short_name); |
470 | if (dso->lname_alloc) | 470 | if (dso->long_name_allocated) |
471 | free(dso->long_name); | 471 | free(dso->long_name); |
472 | dso_cache__free(&dso->cache); | 472 | dso_cache__free(&dso->cache); |
473 | dso__free_a2l(dso); | 473 | dso__free_a2l(dso); |