]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuMonitorGetAllBlockStatsInfo: Assign hash table only on success
authorTim Wiederhake <twiederh@redhat.com>
Tue, 6 Jul 2021 12:37:51 +0000 (14:37 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 13 Jul 2021 12:40:28 +0000 (14:40 +0200)
commit00a7e385f1d930ba4a9aa78ce2b7fef0c297b09f
tree760d587f45060f39c2d0442de1707794cc321659
parent31678663b32bbc58bded2c88d28bc6c484c89431
qemuMonitorGetAllBlockStatsInfo: Assign hash table only on success

`virHashNew` cannot return NULL, the check is not needed.

Signed-off-by: Tim Wiederhake <twiederh@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_monitor.c