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 <[email protected]> > --- > src/conf/domain_conf.c | 14 ++++++-------- > 1 file changed, 6 insertions(+), 8 deletions(-)
Reviewed-by: Andrea Bolognani <[email protected]> -- Andrea Bolognani / Red Hat / Virtualization _______________________________________________ Devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
