Peter Krempa 4aafa900ce virNetworkDHCPDefParseXML: Refactor cleanup
There's nothing to clean up in the 'host' local variable on error as
the function which fills it makes sure to fill it only on success. In
such case it's also directly assigned to the array thus the 'host'
variable is cleared.

Remove the 'cleanup' label and 'ret' variable as we can now directly
return -1 on error.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2023-06-05 13:23:06 +02:00
..
2022-06-16 06:43:56 +02:00
2022-06-16 06:43:56 +02:00
2022-06-16 06:43:56 +02:00
2022-06-16 06:43:56 +02:00
2022-06-16 06:43:56 +02:00
2022-06-16 06:43:56 +02:00
2022-06-16 06:43:56 +02:00
2022-06-16 06:43:56 +02:00
2022-06-16 06:43:56 +02:00
2022-06-16 06:43:56 +02:00