diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-10-28 22:10:15 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-12-21 19:01:26 +1000 |
commit | 19fa224f8a91a73a39b35251ced04b59b2a171b4 (patch) | |
tree | 5406b4307402febc674fcfb2f45dcf97a5ca17c0 /drivers | |
parent | 0b627a0b23404d97d1720c0c1abaee602aee9518 (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.c | 1 |
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; } |