libvhost-user: drop dependency on glib
commiteb078a9f0c1e4af31cfc91501bf210df7b200f11
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 10 Aug 2017 23:14:38 +0000 (11 01:14 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 10 Oct 2017 21:31:08 +0000 (10 23:31 +0200)
treec7e45d12c6dc19c293eee3e4cb4c0f8f5383c961
parentd59a031c7e6424ba302af00346b55e8318613719
libvhost-user: drop dependency on glib

libvhost-user is meant to be free of glib dependency. Make sure it is
by droping qemu/osdep.h (which included glib.h)

This fixes a bad malloc()/g_free() pair.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
contrib/libvhost-user/libvhost-user.c