From 924fb5e916ae107df52181643927305ec4435255 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 15 Dec 2005 15:23:54 +0000 Subject: [PATCH] move va_end() call (Evgeny Kotsuba) --- src/mesa/main/imports.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c index 97d7d57bd28..bf1556fe6f8 100644 --- a/src/mesa/main/imports.c +++ b/src/mesa/main/imports.c @@ -889,12 +889,12 @@ _mesa_sprintf( char *str, const char *fmt, ... ) int r; va_list args; va_start( args, fmt ); - va_end( args ); #if defined(XFree86LOADER) && defined(IN_MODULE) r = xf86vsprintf( str, fmt, args ); #else r = vsprintf( str, fmt, args ); #endif + va_end( args ); return r; } -- 2.30.2