On Wed, Nov 01, 2023 at 03:22:12PM +0100, Ján Tomko wrote:
> 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 <jto...@redhat.com>
> ---
>  src/conf/domain_conf.c | 14 ++++++--------
>  1 file changed, 6 insertions(+), 8 deletions(-)

Reviewed-by: Andrea Bolognani <abolo...@redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-le...@lists.libvirt.org

Reply via email to