Avoid a leak for arguments in va_list marshallers

We need to revers a check on whether the list of arguments needs
unboxing.
This commit is contained in:
Emmanuele Bassi 2017-07-11 12:24:10 +01:00
parent ea365530d2
commit 30b961607a

View File

@ -733,7 +733,7 @@ def generate_body(retval, params, prefix, va_marshal=False):
if va_marshal:
boxed_args = [x for x in get_args if IN_ARGS[x].get('box', None) is not None]
if boxed_args:
if not boxed_args:
body += ['']
else:
for idx, arg in enumerate(get_args):