mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 23:46:17 +01:00
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:
parent
ea365530d2
commit
30b961607a
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user