diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-08-07 20:36:00 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-08-07 20:36:26 +0200 |
commit | 47999a4304cdb72ee1e78d223e671d17f240bd61 (patch) | |
tree | a190179d6496ffe995eaa696d69738d4b7880301 /sd | |
parent | fb1473692e9be2093924ab4df7c982dc282af18f (diff) |
cppcheck: va_list 'args' was opened but not closed by va_end()
Change-Id: Id7602dd19ac142dbe2680ddf7eab308a087e971a
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/remotecontrol/mDNSResponder/dnssd_clientstub.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sd/source/ui/remotecontrol/mDNSResponder/dnssd_clientstub.c b/sd/source/ui/remotecontrol/mDNSResponder/dnssd_clientstub.c index 0aa0717720fd..3e5a1813acc9 100644 --- a/sd/source/ui/remotecontrol/mDNSResponder/dnssd_clientstub.c +++ b/sd/source/ui/remotecontrol/mDNSResponder/dnssd_clientstub.c @@ -76,6 +76,7 @@ static void syslog( int priority, const char * message, ...) buffer = malloc( len * sizeof(char) ); if ( buffer ) { vsprintf( buffer, message, args ); OutputDebugString( buffer ); free( buffer ); } WSASetLastError( err ); + va_end(args); } #else |