vnc: Set invalid buffer pointers to NULL
commitfa0cfdf24a75f3e6aa6c8b6efcbebd09e7f054aa
authorStefan Weil <weil@mail.berlios.de>
Sat, 19 Sep 2009 19:00:09 +0000 (19 21:00 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 5 Oct 2009 14:32:52 +0000 (5 09:32 -0500)
tree554a8ce3a88f8a58354fdf00667509045192d94f
parent7f1e9d4e138f5baf1e862a1221ba13eee7dcce9e
vnc: Set invalid buffer pointers to NULL

After qemu_free, the pointers for input and output
buffers are no longer valid, so set them to NULL
(most other calls of qemu_free in vnc.c use this
pattern, too).

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
vnc.c