Re: [PATCH] PM / Domains: Fix memory leak on error path in pm_genpd_attach_cpuidle

2012-10-14 Thread Rafael J. Wysocki
Hi, Thanks for spotting the problem and for the patch (it got corrupted in transfer, so please see if the one below is what you meant). I'll queue it up for v3.7, but I'm travelling now, so it may take a while. Thanks, Rafael > From: jhbird.c...@samsung.com > Subject: PM / Domains: Fix memory

[PATCH] PM / Domains: Fix memory leak on error path in pm_genpd_attach_cpuidle

2012-10-12 Thread Jonghwan Choi
If pm_genpd_attach_cpudidle failed we leak memory stored in 'cpu_data'. Signed-off-by: Jonghwan Choi --- drivers/base/power/domain.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c index c22b869..96b71b6 10064