Commit f7fd2c2b authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

rsaenh: Avoid double 'va_end(args)' in case of a premature loop termination.

parent ff960114
......@@ -2365,11 +2365,8 @@ int mp_init_multi(mp_int *mp, ...)
succeeded in init-ing, then return error.
*/
va_list clean_args;
/* end the current list */
va_end(args);
/* now start cleaning up */
/* now start cleaning up */
cur_arg = mp;
va_start(clean_args, mp);
while (n--) {
......
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