Missing va_end when using varargs