Skip to content

Commit

Permalink
d: Fix missing call to va_end in getMatchError [PR99917]
Browse files Browse the repository at this point in the history
Reviewed-on: dlang/dmd#12380

gcc/d/ChangeLog:

	PR d/99917
	* dmd/MERGE: Merge upstream dmd d16195406.
  • Loading branch information
ibuclaw committed Apr 6, 2021
1 parent 62321ab commit d48f87d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gcc/d/dmd/MERGE
Original file line number Diff line number Diff line change
@@ -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.
1 change: 1 addition & 0 deletions gcc/d/dmd/mtype.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit d48f87d

Please sign in to comment.