Ján Tomko 7dd72490f6 virsh: refactor cmdDomblkinfo
Use automatic memory cleanup to get rid of the cleanup section,
and of the memory leak that happens inside the loop, because
cap, alloc and phy are only freed once per function.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
2021-08-12 11:01:18 +02:00
..
2021-06-14 14:16:44 +02:00
2021-04-15 15:42:21 +02:00
2019-08-09 09:03:53 +02:00
2021-04-13 17:00:38 +02:00
2021-05-24 20:26:20 +02:00
2021-08-11 10:52:58 +02:00