diff options
Diffstat (limited to 'trust')
-rw-r--r-- | trust/parser.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/trust/parser.c b/trust/parser.c index f92cdc9..e912c3a 100644 --- a/trust/parser.c +++ b/trust/parser.c @@ -697,8 +697,10 @@ p11_parser_formats (p11_parser *parser, func = va_arg (va, parser_func); if (func == NULL) break; - if (!p11_array_push (formats, func)) + if (!p11_array_push (formats, func)) { + va_end (va); return_if_reached (); + } } va_end (va); |