mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-21 10:52:22 +00:00
testutils: call va_end before return
Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
b04908319b
commit
e8e90a35df
@ -771,6 +771,7 @@ int virTestMain(int argc,
|
||||
while ((lib = va_arg(ap, const char *))) {
|
||||
if (!virFileIsExecutable(lib)) {
|
||||
perror(lib);
|
||||
va_end(ap);
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user