diff options
Diffstat (limited to 'arch/x86/events/intel/rapl.c')
| -rw-r--r-- | arch/x86/events/intel/rapl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/events/intel/rapl.c b/arch/x86/events/intel/rapl.c index 99c4bab123cd..e30eef4f29a6 100644 --- a/arch/x86/events/intel/rapl.c +++ b/arch/x86/events/intel/rapl.c | |||
| @@ -714,7 +714,7 @@ static void cleanup_rapl_pmus(void) | |||
| 714 | int i; | 714 | int i; |
| 715 | 715 | ||
| 716 | for (i = 0; i < rapl_pmus->maxpkg; i++) | 716 | for (i = 0; i < rapl_pmus->maxpkg; i++) |
| 717 | kfree(rapl_pmus->pmus + i); | 717 | kfree(rapl_pmus->pmus[i]); |
| 718 | kfree(rapl_pmus); | 718 | kfree(rapl_pmus); |
| 719 | } | 719 | } |
| 720 | 720 | ||
