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

Commit 39504c32 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "DO NOT MERGE - Merge QQ1A.200205.002 into master"

parents 6c7d0695 5d4361bf
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2543,11 +2543,13 @@ status_t Parcel::continueWrite(size_t desired)
            if (objectsSize == 0) {
                free(mObjects);
                mObjects = nullptr;
                mObjectsCapacity = 0;
            } else {
                binder_size_t* objects =
                    (binder_size_t*)realloc(mObjects, objectsSize*sizeof(binder_size_t));
                if (objects) {
                    mObjects = objects;
                    mObjectsCapacity = objectsSize;
                }
            }
            mObjectsSize = objectsSize;