Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 117244
b: refs/heads/master
c: 7e78f72
h: refs/heads/master
v: v3
  • Loading branch information
Eric Anholt authored and Dave Airlie committed Oct 23, 2008
1 parent 753b6e5 commit 67df9cd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 49568873705e45a0de77b7824a9a46d3201019a7
refs/heads/master: 7e78f72524b794fa8d73dc59aeeacc12a2e937fe
4 changes: 4 additions & 0 deletions trunk/drivers/gpu/drm/drm_drawable.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ int drm_rmdraw(struct drm_device *dev, void *data, struct drm_file *file_priv)
spin_lock_irqsave(&dev->drw_lock, irqflags);

info = drm_get_drawable_info(dev, draw->handle);
if (info == NULL) {
spin_unlock_irqrestore(&dev->drw_lock, irqflags);
return -EINVAL;
}
drm_free(info->rects, info->num_rects * sizeof(struct drm_clip_rect),
DRM_MEM_BUFS);
drm_free(info, sizeof(struct drm_drawable_info), DRM_MEM_BUFS);
Expand Down

0 comments on commit 67df9cd

Please sign in to comment.