summaryrefslogtreecommitdiff
path: root/cmds/incidentd/src
diff options
context:
space:
mode:
authorGreg Kaiser <gkaiser@google.com>2019-11-04 06:04:42 -0800
committerGreg Kaiser <gkaiser@google.com>2019-11-04 06:04:42 -0800
commitfa89cdea18b61033f5011c95ddeffd66fd4f83cf (patch)
tree2e8eec4f8cd2f9cb460901c1094a1a86d59bbb3d /cmds/incidentd/src
parent9f4153da71b93707171311196affdff6ac220b42 (diff)
incidentd: Add missing va_end()
A recently added va_start() was missed its va_end(). We fix this. Test: TreeHugger Change-Id: I774da07096bee33bd91b78d734e8de946c87a87f
Diffstat (limited to 'cmds/incidentd/src')
-rw-r--r--cmds/incidentd/src/Section.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmds/incidentd/src/Section.cpp b/cmds/incidentd/src/Section.cpp
index 0176f8047974..c9277a57bd07 100644
--- a/cmds/incidentd/src/Section.cpp
+++ b/cmds/incidentd/src/Section.cpp
@@ -495,6 +495,7 @@ LogSection::LogSection(int id, const char* logID, ...) : WorkerThreadSection(id)
name += " ";
name += arg;
}
+ va_end(args);
switch (mLogID) {
case LOG_ID_EVENTS: