Commit 2930b76c authored by Andrii Simiklit's avatar Andrii Simiklit Committed by Eric Engestrom

mesa/util: add missing va_end() after va_copy()

"va_end must be called on each argument list that's initialized
 with va_start or va_copy before the function returns."
Reviewed-by: Eric Engestrom's avatarEric Engestrom <>
Fixes: c6267ebd "gallium/util: Stop bundling our snprintf implementation."
Signed-off-by: default avatarAndrii Simiklit <>
parent 65cfe698
......@@ -81,6 +81,7 @@ util_vsnprintf(char *str, size_t size, const char *format, va_list ap)
if (ret < 0) {
ret = _vscprintf(format, ap_copy);
return ret;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment