Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 293618
b: refs/heads/master
c: a1b7736
h: refs/heads/master
v: v3
  • Loading branch information
Sascha Hauer authored and Dave Airlie committed Feb 3, 2012
1 parent 1977eb7 commit 07b4316
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: 554f1d7888d4a1055965198d0ac46ba50e8b684e
refs/heads/master: a1b7736dac5f2d5876e68c47a0fce3f423840070
5 changes: 4 additions & 1 deletion trunk/drivers/gpu/drm/drm_fb_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -430,8 +430,11 @@ static void drm_fb_helper_crtc_free(struct drm_fb_helper *helper)
for (i = 0; i < helper->connector_count; i++)
kfree(helper->connector_info[i]);
kfree(helper->connector_info);
for (i = 0; i < helper->crtc_count; i++)
for (i = 0; i < helper->crtc_count; i++) {
kfree(helper->crtc_info[i].mode_set.connectors);
if (helper->crtc_info[i].mode_set.mode)
drm_mode_destroy(helper->dev, helper->crtc_info[i].mode_set.mode);
}
kfree(helper->crtc_info);
}

Expand Down

0 comments on commit 07b4316

Please sign in to comment.