Skip to content

Commit

Permalink
fix va_list leaks reported by static analyzer
Browse files Browse the repository at this point in the history
Reported by Corax from https://feysh.com
  • Loading branch information
danix800 committed May 24, 2024
1 parent 7e02cef commit 518847e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xdo.c
Original file line number Diff line number Diff line change
Expand Up @@ -2006,6 +2006,7 @@ void _xdo_eprintf(const xdo_t *xdo, int hushable, const char *format, ...) {

va_start(args, format);
if (xdo->quiet == True && hushable) {
va_end(args);
return;
}

Expand Down

0 comments on commit 518847e

Please sign in to comment.