From 94f26f01bdff168cf13fbe9caa85b0c4031ff541 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Thu, 11 Jun 2020 10:34:21 +0200 Subject: [PATCH] remoteDispatchDomainMigratePrepare*: Don't pass uninitialized variable to VIR_FREE MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 'uri_out' may be passed to VIR_FREE uninitialized if 'conn' is NULL. Unfortunately the compiler isn't able to detect this problem when VIR_FREE is implemented using g_clear_pointer. Initialize the variable. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko