]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Static Code Analysis: fix varargs handling in snmp_core.cc
authorFrancesco Chemolli <kinkie@squid-cache.org>
Wed, 10 Oct 2012 09:14:27 +0000 (11:14 +0200)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Wed, 10 Oct 2012 09:14:27 +0000 (11:14 +0200)
src/snmp_core.cc

index 924600097c9f832e9ae69d13a97e51933dfaf751..7ac54ddd370ddf9f0a1e1b17a2f5aac71db746d8 100644 (file)
@@ -1039,6 +1039,7 @@ snmpAddNode(oid * name, int len, oid_ParseFn * parsefunction, instance_Fn * inst
         }
     }
 
+    va_end(args);
     return (entry);
 }
 /* End of tree utility functions */