Commit 33d6250a authored by Aaron Conole's avatar Aaron Conole Committed by Lars Ingebrigtsen
Browse files

Call va_end in boot_error

* src/gnutls.c (boot_error): A recent change added a function
to signal an error or return an error code. That function uses
a variadic argument list to populate an error message
string. However, it missed calling va_end after using the
variadic argument list.

  Copyright-paperwork-exempt: yes
parent 4639bc99
......@@ -1181,6 +1181,7 @@ boot_error (struct Lisp_Process *p, const char *m, ...)
pset_status (p, list2 (Qfailed, vformat_string (m, ap)));
verror (m, ap);
va_end (ap);
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