From 473c54e788d2ef517307daad45a1c0c9d0d7fc52 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Thu, 11 Jun 2020 10:24:54 +0200 Subject: [PATCH] cputest: Avoid use of temporary variable in DO_TEST macro MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Use g_free directly to free the returned pointer from virTestLogContentAndReset rather than store it in a temp variable which was necessary when we only allowed VIR_FREE. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko