mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
[client,x11] do not va_end uninitialized list
This commit is contained in:
@@ -92,7 +92,6 @@ static int write_result_log_expect_success(wLog* log, DWORD level, const char* f
|
||||
{
|
||||
va_list ap;
|
||||
(void)write_result_log_va(log, level, fname, fkt, line, display, name, rc, 0, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
return rc;
|
||||
}
|
||||
@@ -104,7 +103,6 @@ static int write_result_log_expect_one(wLog* log, DWORD level, const char* fname
|
||||
{
|
||||
va_list ap;
|
||||
(void)write_result_log_va(log, level, fname, fkt, line, display, name, rc, 0, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
return rc;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user