Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 345308
b: refs/heads/master
c: 9e1c156
h: refs/heads/master
v: v3
  • Loading branch information
Sachin Kamat authored and Dave Airlie committed Nov 20, 2012
1 parent dfe2135 commit da845b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e3cc3520dc2f554b9686b8fc5773d8b8bc8e9c9a
refs/heads/master: 9e1c156ff04b1920c33b59c5b8564afc8bf4f2cd
6 changes: 2 additions & 4 deletions trunk/drivers/gpu/drm/drm_crtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -470,10 +470,8 @@ void drm_crtc_cleanup(struct drm_crtc *crtc)
{
struct drm_device *dev = crtc->dev;

if (crtc->gamma_store) {
kfree(crtc->gamma_store);
crtc->gamma_store = NULL;
}
kfree(crtc->gamma_store);
crtc->gamma_store = NULL;

drm_mode_object_put(dev, &crtc->base);
list_del(&crtc->head);
Expand Down

0 comments on commit da845b9

Please sign in to comment.