diff options
author | Alon Levy <alevy@redhat.com> | 2012-05-23 21:23:26 +0300 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2012-06-15 10:34:57 +0300 |
commit | 60478640a6c4d74c44fdf67350be6e180960cf5f (patch) | |
tree | ff6ee730716c48c19e521ee31f384ed216eebf08 | |
parent | 9d929ae1d1bb2e7f03221fcc4d70e761b6ff9242 (diff) |
qxl_pre_init: memset qxl struct
-rw-r--r-- | src/qxl_driver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qxl_driver.c b/src/qxl_driver.c index 2c36a6b..db9e50c 100644 --- a/src/qxl_driver.c +++ b/src/qxl_driver.c @@ -1449,6 +1449,7 @@ qxl_pre_init(ScrnInfoPtr pScrn, int flags) if (!pScrn->driverPrivate) pScrn->driverPrivate = xnfcalloc(sizeof(qxl_screen_t), 1); qxl = pScrn->driverPrivate; + memset(qxl, 0, sizeof(qxl)); qxl->entity = xf86GetEntityInfo(pScrn->entityList[0]); |