Add missing va_end()

Fixes https://github.com/behdad/harfbuzz/pull/74
This commit is contained in:
Behdad Esfahbod 2015-01-02 14:09:23 -08:00
parent f34aaba868
commit c36c4a9924
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ fail (hb_bool_t suggest_help, const char *format, ...)
va_list vap;
va_start (vap, format);
msg = g_strdup_vprintf (format, vap);
va_end (vap);
const char *prgname = g_get_prgname ();
g_printerr ("%s: %s\n", prgname, msg);
if (suggest_help)