diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/arch/common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/arch/common.c b/tools/perf/arch/common.c index 3e975cb6232e..aacef07ebf31 100644 --- a/tools/perf/arch/common.c +++ b/tools/perf/arch/common.c | |||
@@ -155,6 +155,7 @@ static int perf_session_env__lookup_binutils_path(struct perf_session_env *env, | |||
155 | if (lookup_path(buf)) | 155 | if (lookup_path(buf)) |
156 | goto out; | 156 | goto out; |
157 | free(buf); | 157 | free(buf); |
158 | buf = NULL; | ||
158 | } | 159 | } |
159 | 160 | ||
160 | if (!strcmp(arch, "arm")) | 161 | if (!strcmp(arch, "arm")) |