summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2003-03-26 16:37:47 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2003-03-26 16:37:47 +0000
commit37cb114bd92a17112033f4838e86857bcd466024 (patch)
treea0133a57d0aa345ba279f77714184f88c2dba5bb
parentb3eb34e0ea0ec7c550df5fd6b25efcf9e35c53cd (diff)
Add 2nd arg for DRM_FREE
-rw-r--r--linux-core/drm_dma.c2
-rw-r--r--linux/drm_dma.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/drm_dma.c b/linux-core/drm_dma.c
index df4ed809..1b0b639e 100644
--- a/linux-core/drm_dma.c
+++ b/linux-core/drm_dma.c
@@ -714,7 +714,7 @@ void DRM(vbl_send_signals)( drm_device_t *dev )
list_del( (struct list_head *) vbl_sig );
- DRM_FREE( vbl_sig );
+ DRM_FREE( vbl_sig, sizeof(*vbl_sig) );
dev->vbl_pending--;
}
diff --git a/linux/drm_dma.h b/linux/drm_dma.h
index df4ed809..1b0b639e 100644
--- a/linux/drm_dma.h
+++ b/linux/drm_dma.h
@@ -714,7 +714,7 @@ void DRM(vbl_send_signals)( drm_device_t *dev )
list_del( (struct list_head *) vbl_sig );
- DRM_FREE( vbl_sig );
+ DRM_FREE( vbl_sig, sizeof(*vbl_sig) );
dev->vbl_pending--;
}