Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 480de784 authored by Yi Jin's avatar Yi Jin
Browse files

Free allocated varargs

Bug: 78173836
Test: atest incidentd_test
Change-Id: I1e1b9f63d0e863c733c51efef432235eb94cdbab
parent 82c0b73e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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.