summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-01-31 23:47:07 -0800
committerVinson Lee <vlee@vmware.com>2010-01-31 23:47:07 -0800
commitdfd76c0044f73a357a934eecb274b6ec9661289c (patch)
tree3f3b6affa65b6b6268ad71921fb8b454badb5e2e
parent2de590eacdebb2e34d451807d10fad4c52e2a5a7 (diff)
i965g: Add missing va_end.
-rw-r--r--src/gallium/drivers/i965/brw_disasm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/i965/brw_disasm.c b/src/gallium/drivers/i965/brw_disasm.c
index 65db27248b..9c2ccfff65 100644
--- a/src/gallium/drivers/i965/brw_disasm.c
+++ b/src/gallium/drivers/i965/brw_disasm.c
@@ -366,6 +366,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;
}