Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 174672
b: refs/heads/master
c: 4a04a84
h: refs/heads/master
v: v3
  • Loading branch information
Jerome Glisse authored and Dave Airlie committed Dec 10, 2009
1 parent 582246f commit ef4d1cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: b27b63750d912e80d61d2120c4a1664062d0f808
refs/heads/master: 4a04a844ba0c09b5641bf2ebd9f9517aa76e52fb
6 changes: 4 additions & 2 deletions trunk/drivers/gpu/drm/radeon/radeon_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -487,8 +487,10 @@ int radeon_atombios_init(struct radeon_device *rdev)

void radeon_atombios_fini(struct radeon_device *rdev)
{
kfree(rdev->mode_info.atom_context->scratch);
kfree(rdev->mode_info.atom_context);
if (rdev->mode_info.atom_context) {
kfree(rdev->mode_info.atom_context->scratch);
kfree(rdev->mode_info.atom_context);
}
kfree(rdev->mode_info.atom_card_info);
}

Expand Down

0 comments on commit ef4d1cb

Please sign in to comment.