
6 Nov
2023
6 Nov
'23
1:19 p.m.
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 <jtomko@redhat.com> --- src/conf/domain_conf.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-)
Reviewed-by: Andrea Bolognani <abologna@redhat.com> -- Andrea Bolognani / Red Hat / Virtualization