On Tue, 1 Mar 2016, Vikas Shivappa wrote:
@@ -1397,8 +1543,11 @@ static int __init intel_cqm_init(void)
__perf_cpu_notifier(intel_cqm_cpu_notifier);
out:
cpu_notifier_register_done();
- if (ret)
+ if (ret) {
+ mbm_enabled = false;
+ cqm_enabled = false;
kfree(str);
Leaks mbm_local and mbm_total ....
+ }
return ret;
}
--
1.9.1