mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
qemu-storage-daemon: add missing cleanup calls
Several components used by qemu-storage-daemon have cleanup functions that aren't called. Keep the "valgrind --leak-check=full" as clean as possible by invoking the necessary cleanup functions. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Message-Id: <20200619101132.2401756-3-stefanha@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
5b99bdea84
commit
f10802d2c9
1 changed files with 4 additions and 0 deletions
|
@ -335,5 +335,9 @@ int main(int argc, char *argv[])
|
|||
main_loop_wait(false);
|
||||
}
|
||||
|
||||
monitor_cleanup();
|
||||
qemu_chr_cleanup();
|
||||
user_creatable_cleanup();
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue