perf inject: Fix missing free in copy_kcore_dir()
Free string allocated by asprintf(). Fixes: d8fc0855 ("perf inject: Keep a copy of kcore_dir") Signed-off-by: NAdrian Hunter <adrian.hunter@intel.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Link: https://lore.kernel.org/r/20220620103904.7960-1-adrian.hunter@intel.comSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
Showing
想要评论请 注册 或 登录