qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 4ff971: vhost-user-gpu: Release memory return


From: philmd
Subject: [Qemu-commits] [qemu/qemu] 4ff971: vhost-user-gpu: Release memory returned by vu_queu...
Date: Wed, 15 Apr 2020 12:30:31 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 4ff97121a3ee631971aadc87e3d4e7fb66f15aa8
      
https://github.com/qemu/qemu/commit/4ff97121a3ee631971aadc87e3d4e7fb66f15aa8
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2020-04-15 (Wed, 15 Apr 2020)

  Changed paths:
    M contrib/vhost-user-gpu/vhost-user-gpu.c
    M contrib/vhost-user-gpu/virgl.c

  Log Message:
  -----------
  vhost-user-gpu: Release memory returned by vu_queue_pop() with free()

vu_queue_pop() returns memory that must be freed with free().

Cc: address@hidden
Reported-by: Coverity (CID 1421887 ALLOC_FREE_MISMATCH)
Suggested-by: Peter Maydell <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]