[DRWTSN32][SHIMDBG] Add missing va_end.

CORE-14193
This commit is contained in:
Lee Schroeder 2018-01-19 22:08:14 +01:00 committed by Mark Jansen
parent 45ec86c442
commit 9be6ac9cbb
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B
2 changed files with 2 additions and 0 deletions

View file

@ -32,6 +32,7 @@ void xfprintf(FILE* stream, const char *fmt, ...)
va_start(ap, fmt);
vfprintf(stream, fmt, ap);
vDbgPrintEx(-1, DPFLTR_ERROR_LEVEL, fmt, ap);
va_end(ap);
}

View file

@ -20,6 +20,7 @@ void xprintf(const char *fmt, ...)
va_start(ap, fmt);
vprintf(fmt, ap);
vDbgPrintEx(-1, DPFLTR_ERROR_LEVEL, fmt, ap);
va_end(ap);
}