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

Commit 5d4361bf authored by Xin Li's avatar Xin Li
Browse files

DO NOT MERGE - Merge QQ1A.200205.002 into master

Bug: 147428392
Change-Id: I01afc43a2d99aeaf8207280e185adf461a2f7c99
parents c02c9230 0518fe35
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;