summaryrefslogtreecommitdiff
path: root/cmds/incidentd
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2018-04-17 19:08:26 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2018-04-17 19:08:26 +0000
commitc3116634e13f0f6455fbac36c99eed259a2f4f7c (patch)
tree12f81878b72e539aeff4022a521fcbed8999b06c /cmds/incidentd
parent1d107eaea2225f997a24c5ccbab8f4d64b4a58d0 (diff)
parent480de784a3cce81b464c52969d3560486b575e92 (diff)
Merge "Free allocated varargs" into pi-dev
Diffstat (limited to 'cmds/incidentd')
-rw-r--r--cmds/incidentd/src/Section.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/incidentd/src/Section.cpp b/cmds/incidentd/src/Section.cpp
index 5604973b54bc..93875cde4e24 100644
--- a/cmds/incidentd/src/Section.cpp
+++ b/cmds/incidentd/src/Section.cpp
@@ -310,7 +310,7 @@ GZipSection::GZipSection(int id, const char* filename, ...) : Section(id) {
}
}
-GZipSection::~GZipSection() {}
+GZipSection::~GZipSection() { free(mFilenames); }
status_t GZipSection::Execute(ReportRequestSet* requests) const {
// Reads the files in order, use the first available one.