Re: [PATCH] virsh-snapshot: Don't leak @then in cmdSnapshotList()

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

 



On a Monday in 2021, Michal Privoznik wrote:
The variable is used inside a loop in which it' allocated in each

it's

iteration. Bring it inside the loop so that g_autoptr() kicks in
each iteration.


Fixes: 3caa28dc50df7ec215713075d669b20bef6473a2

Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
---
tools/virsh-snapshot.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


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