Merge "Va_end should be used with va_start"
diff --git a/server/IptablesBaseTest.cpp b/server/IptablesBaseTest.cpp
index ce6008a..b5fd9a0 100644
--- a/server/IptablesBaseTest.cpp
+++ b/server/IptablesBaseTest.cpp
@@ -73,6 +73,7 @@
             cmd += arg;
         }
     } while (arg);
+    va_end(args);
 
     if (target == V4 || target == V4V6) {
         sCmds.push_back(IPTABLES_PATH + cmd);