From cde443e0b94ec6d8d0a99284e72ca7f9e2591174 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Thu, 3 Feb 2011 22:10:16 -0800 Subject: [PATCH] ralloc: Add missing va_end following va_copy. --- src/glsl/ralloc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/glsl/ralloc.c b/src/glsl/ralloc.c index 3ba5d86cd9c..6a5eac6b9a3 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; } -- 2.30.2