ui/spice-display.c: add missing initialization for valgrind
commit160c31f78fb4eb747e50d077835dbb70dbdbbb9f
authorAlon Levy <alevy@redhat.com>
Thu, 24 May 2012 09:38:11 +0000 (24 12:38 +0300)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 22 Jun 2012 08:46:12 +0000 (22 10:46 +0200)
tree5887f3ded83585552e57456f825952cb30ce8e34
parent47ecbdf07ed2c37bdfd2d77137d01bb319ce13da
ui/spice-display.c: add missing initialization for valgrind

We can't initialize QXLDevSurfaceCreate field by field because it has a
pa hole, and so 4 bytes remain uninitialized when building on x86-64, so
just memset.

Signed-off-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/spice-display.c