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

Commit a77cf160 authored by Caroline Tice's avatar Caroline Tice Committed by Android (Google) Code Review
Browse files

Merge "Fix 'potential memory leak' compiler warning."

parents 64b8787d 158c197b
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -566,7 +566,7 @@ status_t SampleTable::setSyncSampleParams(off64_t data_offset, size_t data_size)

    if (mDataSource->readAt(data_offset + 8, mSyncSamples,
            (size_t)allocSize) != (ssize_t)allocSize) {
        delete mSyncSamples;
        delete[] mSyncSamples;
        mSyncSamples = NULL;
        return ERROR_IO;
    }
@@ -992,4 +992,3 @@ int32_t SampleTable::getCompositionTimeOffset(uint32_t sampleIndex) {
}

}  // namespace android