summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-12-24 16:26:09 -0800
committerVinson Lee <[email protected]>2009-12-24 16:26:09 -0800
commitf5ad1d0d02cae06bff3ee120c75ad4ab458d2c7d (patch)
treee2b28de71e3cbd78e5778abd4a27c00e82d5ca7f /src/mesa/drivers/dri
parent098f10c2709a33bb5f35d52a42818ce7cbcaadb5 (diff)
i965: Add missing va_end.
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/i965/brw_disasm.c1
1 files changed, 1 insertions, 0 deletions
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;
}