Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349479
b: refs/heads/master
c: f2d68cf
h: refs/heads/master
i:
  349477: cc2940c
  349475: 2e32630
  349471: c0a9789
v: v3
  • Loading branch information
liu chuansheng authored and Alex Deucher committed Jan 31, 2013
1 parent 5f6ff2f commit bb1130f
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 39dc9aabd8708944031e6307819b2a794b841f83
refs/heads/master: f2d68cf4daa4de97d400d94836b907e35228e54f
4 changes: 3 additions & 1 deletion trunk/drivers/gpu/drm/radeon/radeon_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -1115,8 +1115,10 @@ radeon_user_framebuffer_create(struct drm_device *dev,
}

radeon_fb = kzalloc(sizeof(*radeon_fb), GFP_KERNEL);
if (radeon_fb == NULL)
if (radeon_fb == NULL) {
drm_gem_object_unreference_unlocked(obj);
return ERR_PTR(-ENOMEM);
}

ret = radeon_framebuffer_init(dev, radeon_fb, mode_cmd, obj);
if (ret) {
Expand Down

0 comments on commit bb1130f

Please sign in to comment.