commit | 0f5a15e40ad1512c70d1323a73c7b073e32e17ee | [log] [tgz] |
---|---|---|
author | Ladi Prosek <lprosek@redhat.com> | Fri Mar 24 15:24:49 2017 +0100 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Mon Mar 27 12:14:44 2017 +0200 |
tree | f2134a23219b9c8821a0117ff3791e6c2df8a2f7 | |
parent | ea2afcf5b6727a577cf561fd8fe0d8c397ecc927 [diff] |
virtio-input: free event queue when finalizing VirtIOInput.queue was never freed. This commit adds an explicit g_free to virtio_input_finalize and switches the allocation function from realloc to g_realloc in virtio_input_send. Signed-off-by: Ladi Prosek <lprosek@redhat.com> Message-id: 1490365490-4854-2-git-send-email-lprosek@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>