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

Commit 2298edf5 authored by Lajos Molnar's avatar Lajos Molnar
Browse files

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

Change-Id: Ic699f4e0c0617958e59daff0bb46f990f4abd877
parents dd40ebdf 37c428cd
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