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:
parent
62321ab477
commit
d48f87d5c1
@ -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.
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user