diff options
author | Alon Levy <alevy@redhat.com> | 2012-05-23 21:23:26 +0300 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2012-05-31 20:13:47 +0300 |
commit | 232ac1492900b6a7e3172f3596c3030f752389e1 (patch) | |
tree | c70e3abb10d976d1712190884e5f61f41e607c64 | |
parent | f13c9547b6a98db70ded6b2614d3cd8ae0e92b9d (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 a3ec1f8..1dbde5b 100644 --- a/src/qxl_driver.c +++ b/src/qxl_driver.c @@ -1448,6 +1448,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]); |