summaryrefslogtreecommitdiffstats
path: root/Documentation/admin-guide
diff options
context:
space:
mode:
authorThomas Gleixner2017-12-27 19:45:31 +0100
committerThomas Gleixner2017-12-27 20:23:59 +0100
commit7ad1437d6ace0e450a6c1167720608ad660b191d (patch)
treeb518b1fd266c0f025683e91178ecd42e283b55bc /Documentation/admin-guide
parentMerge tag 'perf-urgent-for-mingo-4.15-20171218' of git://git.kernel.org/pub/s... (diff)
downloadkernel-qcow2-linux-7ad1437d6ace0e450a6c1167720608ad660b191d.tar.gz
kernel-qcow2-linux-7ad1437d6ace0e450a6c1167720608ad660b191d.tar.xz
kernel-qcow2-linux-7ad1437d6ace0e450a6c1167720608ad660b191d.zip
perf/x86/intel: Plug memory leak in intel_pmu_init()
A recent commit introduced an extra merge_attr() call in the skylake branch, which causes a memory leak. Store the pointer to the extra allocated memory and free it at the end of the function. Fixes: a5df70c354c2 ("perf/x86: Only show format attributes when supported") Reported-by: Tommi Rantala <tommi.t.rantala@nokia.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Andi Kleen <ak@linux.intel.com>
Diffstat (limited to 'Documentation/admin-guide')
0 files changed, 0 insertions, 0 deletions