nfqws,tpws: missing va_end

This commit is contained in:
bol-van 2025-03-21 17:33:57 +03:00
parent 6387315c0b
commit 1b880d42f9
2 changed files with 2 additions and 0 deletions

View File

@ -65,6 +65,7 @@ static int DLOG_VA(const char *format, int syslog_priority, bool condup, va_list
{
va_copy(args2,args);
DLOG_CON(format,syslog_priority,args2);
va_end(args2);
}
if (params.debug)
{

View File

@ -50,6 +50,7 @@ static int DLOG_VA(const char *format, int syslog_priority, bool condup, int lev
{
va_copy(args2,args);
DLOG_CON(format,syslog_priority,args2);
va_end(args2);
}
if (params.debug>=level)
{