summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2011-02-03 22:10:16 -0800
committerVinson Lee <vlee@vmware.com>2011-02-03 22:10:16 -0800
commitcde443e0b94ec6d8d0a99284e72ca7f9e2591174 (patch)
tree804d6930dd255f3435579560bb3fffec498bf885
parent3188a7deb3d8bcaee647de27831c0f62b17a6ea9 (diff)
ralloc: Add missing va_end following va_copy.
-rw-r--r--src/glsl/ralloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/ralloc.c b/src/glsl/ralloc.c
index 3ba5d86cd9..6a5eac6b9a 100644
--- a/src/glsl/ralloc.c
+++ b/src/glsl/ralloc.c
@@ -403,6 +403,8 @@ printf_length(const char *fmt, va_list untouched_args)
#endif
assert(size >= 0);
+ va_end(args);
+
return size;
}