diff options
Diffstat (limited to 'dix/property.c')
-rw-r--r-- | dix/property.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dix/property.c b/dix/property.c index 5bf4232ed..0929dca17 100644 --- a/dix/property.c +++ b/dix/property.c @@ -111,6 +111,7 @@ deliverPropertyNotifyEvent(WindowPtr pWin, int state, Atom atom) { xEvent event; + memset(&event, 0, sizeof(xEvent)); event.u.u.type = PropertyNotify; event.u.property.window = pWin->drawable.id; event.u.property.state = state; @@ -479,6 +480,7 @@ ProcGetProperty(ClientPtr client) return(BadAtom); } + memset(&reply, 0, sizeof(xGetPropertyReply)); reply.type = X_Reply; reply.sequenceNumber = client->sequence; |