aboutsummaryrefslogtreecommitdiff
path: root/tcg/optimize.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2020-03-23 12:29:41 +0100
committerPeter Maydell <peter.maydell@linaro.org>2020-04-15 19:00:39 +0100
commit4ff97121a3ee631971aadc87e3d4e7fb66f15aa8 (patch)
tree8bd408e71b492c556f4dc0bc484df2106752abb3 /tcg/optimize.c
parent6329df5b53a3307f289451137c9910da0f09adc6 (diff)
vhost-user-gpu: Release memory returned by vu_queue_pop() with free()
vu_queue_pop() returns memory that must be freed with free(). Cc: qemu-stable@nongnu.org Reported-by: Coverity (CID 1421887 ALLOC_FREE_MISMATCH) Suggested-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'tcg/optimize.c')
0 files changed, 0 insertions, 0 deletions