summaryrefslogtreecommitdiffstats
path: root/src/glx/apple/apple_glx_log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/apple/apple_glx_log.c')
-rw-r--r--src/glx/apple/apple_glx_log.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glx/apple/apple_glx_log.c b/src/glx/apple/apple_glx_log.c
index a3f446c26f2..ea39d30954e 100644
--- a/src/glx/apple/apple_glx_log.c
+++ b/src/glx/apple/apple_glx_log.c
@@ -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);