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(a)redhat.com>
---
tools/virsh-snapshot.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano