Skip to content

Commit 1b880d4

Browse files
author
bol-van
committed
nfqws,tpws: missing va_end
1 parent 6387315 commit 1b880d4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

nfq/params.c

+1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ static int DLOG_VA(const char *format, int syslog_priority, bool condup, va_list
6565
{
6666
va_copy(args2,args);
6767
DLOG_CON(format,syslog_priority,args2);
68+
va_end(args2);
6869
}
6970
if (params.debug)
7071
{

tpws/params.c

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ static int DLOG_VA(const char *format, int syslog_priority, bool condup, int lev
5050
{
5151
va_copy(args2,args);
5252
DLOG_CON(format,syslog_priority,args2);
53+
va_end(args2);
5354
}
5455
if (params.debug>=level)
5556
{

0 commit comments

Comments
 (0)