1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-20 07:59:00 +00:00
Ján Tomko 66e84b8a95 conf: virDomainDiskSourceFormat: check for srcpool presence correctly
As a guard against programming errors, one part of the condition
only dereferences srcpool if it exists, other one does not.

Move the check up one level so that it actually has a chance to do
something useful.

Fixes: 19b1c0d31988a3a10c4694c10c27eb15c018f450
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
2023-11-21 18:04:53 +01: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