aboutsummaryrefslogtreecommitdiff
path: root/os-posix.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2019-11-19 11:16:26 +0000
committerMichael S. Tsirkin <mst@redhat.com>2019-11-20 04:57:22 -0500
commitec244b17391f8f9a16e91905a91a52dd77d3759f (patch)
tree958b5a1ffbb2f61ef2f1a638f013289a0375dcf8 /os-posix.c
parentd9b3ade54ea7465093578cd0f792437198b572ac (diff)
downloadqemu-ec244b17391f8f9a16e91905a91a52dd77d3759f.zip
qemu-ec244b17391f8f9a16e91905a91a52dd77d3759f.tar.gz
qemu-ec244b17391f8f9a16e91905a91a52dd77d3759f.tar.bz2
vhost-user-input: use free(elem) instead of g_free(elem)
The virtqueue element returned by vu_queue_pop() is allocated using malloc(3) by virtqueue_alloc_element(). Use the matching free(3) function instead of glib's g_free(). Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Message-Id: <20191119111626.112206-1-stefanha@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'os-posix.c')
0 files changed, 0 insertions, 0 deletions