|
@@ -170,7 +170,7 @@ static void perf_session__delete_threads(struct perf_session *session)
|
|
|
machine__delete_threads(&session->machines.host);
|
|
|
}
|
|
|
|
|
|
-static void perf_session_env__delete(struct perf_session_env *env)
|
|
|
+static void perf_session_env__exit(struct perf_session_env *env)
|
|
|
{
|
|
|
zfree(&env->hostname);
|
|
|
zfree(&env->os_release);
|
|
@@ -193,7 +193,7 @@ void perf_session__delete(struct perf_session *session)
|
|
|
auxtrace_index__free(&session->auxtrace_index);
|
|
|
perf_session__destroy_kernel_maps(session);
|
|
|
perf_session__delete_threads(session);
|
|
|
- perf_session_env__delete(&session->header.env);
|
|
|
+ perf_session_env__exit(&session->header.env);
|
|
|
machines__exit(&session->machines);
|
|
|
if (session->file)
|
|
|
perf_data_file__close(session->file);
|