A 67-year-old patient has ordered a full functional denture. It was necessary to extract his left upper canine. After infraorbital anaesthesia the patient presented with progressing hematoma in the frontal part of his face. The patient was found to have an injury of the artery that is the branch of: