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

Commit 56b9616e authored by Lajos Molnar's avatar Lajos Molnar
Browse files

[automerger] Fix 'potential memory leak' compiler warning. am: 37c428cd am: 2298edf5

Change-Id: Ia8bdba515af702a6372f4e52edf6fc90335a2114
parents 27a03fc3 2298edf5
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -561,7 +561,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;
    }
@@ -987,4 +987,3 @@ int32_t SampleTable::getCompositionTimeOffset(uint32_t sampleIndex) {
}

}  // namespace android