On a Saturday in 2021, Peter Krempa wrote:
Some code paths return -1 directly while others jump to
'cleanup' which
cleans the list of mounts. Since qemuDomainGetPreservedMounts now
returns a NULL-terminated list, convert devMountsPath to g_auto(GStrv)
and remove the cleanup altoghether;
Suspicious semicolon.
Jano
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/qemu/qemu_namespace.c | 15 ++++-----------
1 file changed, 4 insertions(+), 11 deletions(-)