summaryrefslogtreecommitdiffstats
path: root/hw/vfio/pci.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2017-07-26 19:38:17 +0200
committerAlex Williamson2017-07-26 19:38:17 +0200
commit418c69813f027cb1408aa2759022f5ca170a8c8c (patch)
tree546d0e5ee90924b8898fde93635f4d5d66df3499 /hw/vfio/pci.c
parentUpdate version for v2.10.0-rc0 release (diff)
downloadqemu-418c69813f027cb1408aa2759022f5ca170a8c8c.tar.gz
qemu-418c69813f027cb1408aa2759022f5ca170a8c8c.tar.xz
qemu-418c69813f027cb1408aa2759022f5ca170a8c8c.zip
vfio/platform: fix use of freed memory
free the data _after_ using it. hw/vfio/platform.c:126:29: warning: Use of memory after it is freed qemu_set_fd_handler(*pfd, NULL, NULL, NULL); ^~~~ Reported-by: Clang Static Analyzer Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'hw/vfio/pci.c')
0 files changed, 0 insertions, 0 deletions