mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
x86: add missing va_end to hypercall_xlat_continuation
Coverity-ID: 1056208 Signed-off-by: Matthew Daley <mattjd@gmail.com> Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com> Acked-by: Keir Fraser <keir@xen.org>
This commit is contained in:
1 parent
ac2f555e37
commit
26d8a37c59
1 file changed
+4
@@ -1648,7 +1648,11 @@ int hypercall_xlat_continuation(unsigned int *id, unsigned int mask, ...)
|
||||
if ( test_bit(_MCSF_in_multicall, &mcs->flags) )
|
||||
{
|
||||
if ( !test_bit(_MCSF_call_preempted, &mcs->flags) )
|
||||
{
|
||||
va_end(args);
|
||||
return 0;
|
||||
}
|
||||
|
||||
for ( i = 0; i < 6; ++i, mask >>= 1 )
|
||||
{
|
||||
if ( mask & 1 )
|
||||
|
||||