Commit 30b96160 authored by Emmanuele Bassi's avatar Emmanuele Bassi

Avoid a leak for arguments in va_list marshallers

We need to revers a check on whether the list of arguments needs
parent ea365530
......@@ -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 += ['']
for idx, arg in enumerate(get_args):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment