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

Commit 32aafab6 authored by Adam Seaton's avatar Adam Seaton Committed by android-build-team Robot
Browse files

Revert "Fix memory leaks"

This reverts commit 12586d1c.

Change-Id: I3cdb236b5578695d4b0ee6ba2478326e630362d9
(cherry picked from commit a667247278c732c5317a8fce670c50d42e4a4db0)
parent 45fcb14b
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -4624,8 +4624,6 @@ status_t MPEG4Source::read(
        }
        if (size > mBuffer->size()) {
            ALOGE("buffer too small: %zu > %zu", size, mBuffer->size());
            mBuffer->release();
            mBuffer = NULL;
            return ERROR_BUFFER_TOO_SMALL;
        }
    }
@@ -4918,8 +4916,6 @@ status_t MPEG4Source::fragmentedRead(
        }
        if (size > mBuffer->size()) {
            ALOGE("buffer too small: %zu > %zu", size, mBuffer->size());
            mBuffer->release();
            mBuffer = NULL;
            return ERROR_BUFFER_TOO_SMALL;
        }
    }