[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH-for-5.0 1/3] vhost-user-gpu: Release memory returned by vu_qu
From: |
Peter Maydell |
Subject: |
Re: [PATCH-for-5.0 1/3] vhost-user-gpu: Release memory returned by vu_queue_pop() with free() |
Date: |
Wed, 15 Apr 2020 20:27:34 +0100 |
On Mon, 23 Mar 2020 at 11:29, Philippe Mathieu-Daudé <address@hidden> wrote:
>
> 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>
> ---
> contrib/vhost-user-gpu/vhost-user-gpu.c | 4 ++--
> contrib/vhost-user-gpu/virgl.c | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
Applied this patch (and not any of the rest of the series)
to master for rc3, thanks.
-- PMM
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH-for-5.0 1/3] vhost-user-gpu: Release memory returned by vu_queue_pop() with free(),
Peter Maydell <=