aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2021-04-06 13:12:54 +0200
committerIain Buclaw <ibuclaw@gdcproject.org>2021-04-06 19:43:31 +0200
commitd48f87d5c1927b1bf2009af3251fe8757e823713 (patch)
tree8aa4f7b4fafb35903458e7b19edea8fd9430f8d9 /gcc
parent62321ab477e2bdc3450b14662b9a7d3b9d3c9d1f (diff)
downloadgcc-d48f87d5c1927b1bf2009af3251fe8757e823713.zip
gcc-d48f87d5c1927b1bf2009af3251fe8757e823713.tar.gz
gcc-d48f87d5c1927b1bf2009af3251fe8757e823713.tar.bz2
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/d/dmd/MERGE2
-rw-r--r--gcc/d/dmd/mtype.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/gcc/d/dmd/MERGE b/gcc/d/dmd/MERGE
index a891844..98c229d 100644
--- a/gcc/d/dmd/MERGE
+++ b/gcc/d/dmd/MERGE
@@ -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.
diff --git a/gcc/d/dmd/mtype.c b/gcc/d/dmd/mtype.c
index 57aa244..1c73f50 100644
--- a/gcc/d/dmd/mtype.c
+++ b/gcc/d/dmd/mtype.c
@@ -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();
}