Ján Tomko 40b4f68d2d qemu: agent: use virHashNew
We're passing 'ifaces_count' to virHashCreate as the initial
hash table size just after we've initialized it to zero.
This translates to a default of 256 inside virHashCreateFull.

Instead of this obfuscation, use virHashNew (default of 32),
to make it obvious we don't care about the initial hash size.

Also remove the error handling, since neither of the functions
return any errors after switching to g_new0.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
2020-10-08 11:16:08 +02:00
..
2020-10-08 11:16:08 +02:00
2020-10-05 16:44:06 +02:00
2020-10-05 16:44:06 +02:00
2020-10-05 16:44:06 +02:00
2020-10-05 16:44:06 +02:00
2020-10-05 16:44:06 +02:00
2020-10-07 11:26:27 +02:00
2020-10-07 11:26:27 +02:00
2020-10-05 16:44:06 +02:00
2020-10-05 16:44:06 +02:00
2020-10-05 16:44:06 +02:00
2020-10-05 16:44:06 +02:00
2020-10-05 16:44:06 +02:00
2020-10-05 16:44:06 +02:00
2020-10-05 16:44:06 +02:00