summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@jsg.id.au>2013-03-04 22:03:54 +1100
committerJonathan Gray <jsg@jsg.id.au>2013-03-04 22:03:54 +1100
commitc7abca66c1ff570739e01f863f39cc4aa3f1a3d6 (patch)
tree55f305729e96877412604fffc366a18ec46d92f7
parent66e4a4bb6c834ce91ced9e04b82a3971c5fdf70c (diff)
call drm_free not free for page flip destroy callback
should corrupt the stack less
-rw-r--r--sys/dev/pci/drm/drm_crtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/drm_crtc.c b/sys/dev/pci/drm/drm_crtc.c
index 21d6799ca4f..7d3b1d7698f 100644
--- a/sys/dev/pci/drm/drm_crtc.c
+++ b/sys/dev/pci/drm/drm_crtc.c
@@ -3810,7 +3810,7 @@ drm_mode_page_flip_ioctl(struct drm_device *dev,
e->base.event = &e->event.base;
e->base.file_priv = file_priv;
e->base.destroy =
- (void (*) (struct drm_pending_event *)) free;
+ (void (*) (struct drm_pending_event *)) drm_free;
}
ret = crtc->funcs->page_flip(crtc, fb, e);