summaryrefslogtreecommitdiff
path: root/linux/drm_lists.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drm_lists.h')
-rw-r--r--linux/drm_lists.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drm_lists.h b/linux/drm_lists.h
index 3ad487fd..5cd8cd47 100644
--- a/linux/drm_lists.h
+++ b/linux/drm_lists.h
@@ -42,7 +42,7 @@ int DRM(waitlist_create)(drm_waitlist_t *bl, int count)
DRM_MEM_BUFLISTS);
if(!bl->bufs) return -ENOMEM;
-
+ memset(bl->bufs, 0, sizeof(*bl->bufs));
bl->count = count;
bl->rp = bl->bufs;
bl->wp = bl->bufs;