vnc: add buffer_free()
authorCorentin Chary <corentincj@iksaif.net>
Wed, 19 May 2010 07:24:07 +0000 (09:24 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 1 Jun 2010 17:53:09 +0000 (12:53 -0500)
commit5d418e3ba96cfa810e00885a52b55f19cac8f9a6
treea8b0a99dd90b5258930e0e5e22f2f992e5ad08e7
parent78c98c78705452e439f5b2ef5447ada23de9988e
vnc: add buffer_free()

Add a buffer_free() helper to free vnc buffers and
remove some duplicated code in vnc_disconnect_finish().

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
vnc.c
vnc.h