OSDN Git Service

io_uring: do not use pointer after free
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 13 Nov 2020 15:41:02 +0000 (10:41 -0500)
committerKevin Wolf <kwolf@redhat.com>
Tue, 17 Nov 2020 11:26:48 +0000 (12:26 +0100)
commitbd89f93603f4e588e80f2e622118bf4131f30865
tree5d11efd46c00ded5dec890ebdb663b2dea3fbd18
parentece4fa9152ea37c7ebd158af330e3b20e33cf385
io_uring: do not use pointer after free

Even though only the pointer value is only printed, it is untidy
and Coverity complains.

Cc: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20201113154102.1460459-1-pbonzini@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/io_uring.c