From: Vinson Lee Date: Fri, 25 Dec 2009 00:26:09 +0000 (-0800) Subject: i965: Add missing va_end. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f5ad1d0d02cae06bff3ee120c75ad4ab458d2c7d;p=mesa.git i965: Add missing va_end. --- diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c index 9fef230507f..130bd0f3e5b 100644 --- a/src/mesa/drivers/dri/i965/brw_disasm.c +++ b/src/mesa/drivers/dri/i965/brw_disasm.c @@ -365,6 +365,7 @@ static int format (FILE *f, char *format, ...) va_start (args, format); vsnprintf (buf, sizeof (buf) - 1, format, args); + va_end (args); string (f, buf); return 0; }