summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-10-28 22:10:15 +1000
committerBen Skeggs <bskeggs@redhat.com>2011-12-21 19:01:26 +1000
commit19fa224f8a91a73a39b35251ced04b59b2a171b4 (patch)
tree5406b4307402febc674fcfb2f45dcf97a5ca17c0 /drivers
parent0b627a0b23404d97d1720c0c1abaee602aee9518 (diff)
drm/nv50/pm: free state struct after setting clocks
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/nouveau/nv50_pm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nv50_pm.c b/drivers/gpu/drm/nouveau/nv50_pm.c
index bf9fd95c81c..53b6c6c7574 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;
}