From: Ben Skeggs Date: Fri, 28 Oct 2011 12:10:15 +0000 (+1000) Subject: drm/nv50/pm: free state struct after setting clocks X-Git-Tag: v3.12-rc1~4099^2~51^2~57 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=19fa224f8a91a73a39b35251ced04b59b2a171b4;p=kernel%2Fkernel-generic.git drm/nv50/pm: free state struct after setting clocks Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nv50_pm.c b/drivers/gpu/drm/nouveau/nv50_pm.c index bf9fd95..53b6c6c 100644 --- a/drivers/gpu/drm/nouveau/nv50_pm.c +++ b/drivers/gpu/drm/nouveau/nv50_pm.c @@ -619,6 +619,7 @@ error: ret = -EBUSY; resume: nv_mask(dev, 0x002504, 0x00000001, 0x00000000); + kfree(info); return ret; }