Re: [PATCH 3/7] cputest: Avoid use of temporary variable in DO_TEST macro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On a Thursday in 2020, Peter Krempa wrote:
Use g_free directly to free the returned pointer from
virTestLogContentAndReset rather than store it in a temp variable.


Needed back when VIR_FREE was mandated in:
8fe454ce90899945b1d16674668a0208657b6e61

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
tests/cputest.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)


Reviewed-by: Ján Tomko <jtomko@xxxxxxxxxx>

Jano

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux