Free allocated varargs
Bug: 78173836 Test: atest incidentd_test Change-Id: I1e1b9f63d0e863c733c51efef432235eb94cdbab
This commit is contained in:
@@ -308,7 +308,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.
|
||||
@@ -927,4 +927,4 @@ status_t TombstoneSection::BlockingCall(int pipeWriteFd) const {
|
||||
|
||||
} // namespace incidentd
|
||||
} // namespace os
|
||||
} // namespace android
|
||||
} // namespace android
|
||||
|
||||
Reference in New Issue
Block a user