diff options
author | Peter Åstrand <astrand@cendio.se> | 2009-03-06 19:41:35 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-03-06 19:43:10 -0800 |
commit | f508446a2bcd887df9cf5db786b15fc3cbc435a0 (patch) | |
tree | ad44d9584b9033a044b57b18735bb67144305354 /composite | |
parent | d1338a94805cc774fe0a5d00c2225a3ee9673a9f (diff) |
Composite: Uninitialized borderClipX/borderClipY
Valgrind warned me about two other uninitialized variables, which are not
padding. Valgrind output at the end. I'm a bit unsure of what these should
be initialized to, is zero fine?
Diffstat (limited to 'composite')
-rw-r--r-- | composite/compalloc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/composite/compalloc.c b/composite/compalloc.c index a2f3f140a..1bac9a417 100644 --- a/composite/compalloc.c +++ b/composite/compalloc.c @@ -134,6 +134,8 @@ compRedirectWindow (ClientPtr pClient, WindowPtr pWin, int update) } REGION_NULL (pScreen, &cw->borderClip); + cw->borderClipX = 0; + cw->borderClipY = 0; cw->update = CompositeRedirectAutomatic; cw->clients = 0; cw->oldx = COMP_ORIGIN_INVALID; |