]> Git Repo - qemu.git/commit - hw/qxl.c
spice: fix initialization order
authorGerd Hoffmann <[email protected]>
Fri, 2 Nov 2012 08:37:27 +0000 (09:37 +0100)
committerGerd Hoffmann <[email protected]>
Mon, 5 Nov 2012 10:54:49 +0000 (11:54 +0100)
commitbdd4df332a1bdb20b7fa39ea741f7830e41e1187
tree3f66ef947c8d3acc2fa7783c8d05245c2a9889c5
parent365b1e9e3486aaa55f30df6f16ecafffaef6ec98
spice: fix initialization order

Register displaychangelistener last, after spice is fully initialized,
otherwise we may hit NULL pointer dereferences when qemu starts calling
our callbacks.

Commit e250d949feb1334828f27f0d145c35f29c4b7639 triggers this bug.

Signed-off-by: Gerd Hoffmann <[email protected]>
hw/qxl.c
ui/spice-display.c
This page took 0.026215 seconds and 4 git commands to generate.