diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index 8c03a9862872d49575bba13c1dd531856240d768..bae0e5b72c0e6050fb829a9adb99b6be5f171fad 100644 --- a/tools/perf/builtin-script.c +++ b/tools/perf/builtin-script.c @@ -4143,6 +4143,7 @@ int cmd_script(int argc, const char **argv) zfree(&script.ptime_range); } + zstd_fini(&(session->zstd_data)); evlist__free_stats(session->evlist); perf_session__delete(session);