Commit 267ed292 authored by Andrii Simiklit's avatar Andrii Simiklit Committed by Eric Engestrom

apple/glx/log: added missing va_end() after va_copy()

Each invocation of va_copy() must be matched by a
corresponding invocation of va_end()
Reviewed-by: Eric Engestrom's avatarEric Engestrom <eric.engestrom@intel.com>
Fixes: 51691f07 "darwin: Use ASL for logging"
Signed-off-by: default avatarAndrii Simiklit <andrii.simiklit@globallogic.com>
parent 6daba55a
......@@ -97,6 +97,7 @@ void _apple_glx_vlog(int level, const char *file, const char *function,
fprintf(stderr, "%-9s %24s:%-4d %s(%"PRIu64"): ",
_asl_level_string(level), file, line, function, thread);
vfprintf(stderr, fmt, args2);
va_end(args2);
}
msg = asl_new(ASL_TYPE_MSG);
......
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