d: Fix missing call to va_end in getMatchError [PR99917]

Reviewed-on: https://github.com/dlang/dmd/pull/12380

gcc/d/ChangeLog:

	PR d/99917
	* dmd/MERGE: Merge upstream dmd d16195406.
This commit is contained in:
Iain Buclaw 2021-04-06 13:12:54 +02:00
parent 62321ab477
commit d48f87d5c1
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
5cc71ff830fcfba218152360014298550be9180e
d16195406e1795ee91f2acb8f522fcb4ec698f47
The first line of this file holds the git revision number of the last
merge done from the dlang/dmd repository.

View File

@ -5220,6 +5220,7 @@ static const char *getMatchError(const char *format, ...)
va_list ap;
va_start(ap, format);
buf.vprintf(format, ap);
va_end(ap);
return buf.extractChars();
}