Skip to content

Commit

Permalink
[dmd-cxx] Missing call to va_end in getMatchError
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuclaw authored and dlang-bot committed Apr 5, 2021
1 parent 5cc71ff commit d161954
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/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 d161954

Please sign in to comment.