Mesa (mesa_7_6_branch): i965: Add missing va_end.

Vinson Lee vlee at kemper.freedesktop.org
Thu Dec 24 16:27:09 PST 2009


Module: Mesa
Branch: mesa_7_6_branch
Commit: f5ad1d0d02cae06bff3ee120c75ad4ab458d2c7d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f5ad1d0d02cae06bff3ee120c75ad4ab458d2c7d

Author: Vinson Lee <vlee at vmware.com>
Date:   Thu Dec 24 16:26:09 2009 -0800

i965: Add missing va_end.

---

 src/mesa/drivers/dri/i965/brw_disasm.c |    1 +
 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 9fef230..130bd0f 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;
 }



More information about the mesa-commit mailing list