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:
Matthew Daley authored and Jan Beulich committed 2013-09-10 17:15:35 +02:00
1 parent ac2f555e37
commit 26d8a37c59
1 file changed
+4
+4
View File
@@ -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 )
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.