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

Commit dc63dc4d authored by Steven Moreland's avatar Steven Moreland Committed by Automerger Merge Worker
Browse files

Merge "Binder: recycle Parcel in finally block" am: 8581d274 am: 0c1dac25...

Merge "Binder: recycle Parcel in finally block" am: 8581d274 am: 0c1dac25 am: b4f0710e am: 2cc9570c

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1926857

Change-Id: Ibeb6d54f6be510c6800c57c28a32398f084be89a
parents d9b9ad28 2cc9570c
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -1308,10 +1308,11 @@ public class Binder implements IBinder {
                        data.readCallingWorkSourceUid());
                observer.callEnded(callSession, data.dataSize(), reply.dataSize(), workSourceUid);
            }
        }

            checkParcel(this, code, reply, "Unreasonably large binder reply buffer");
            reply.recycle();
            data.recycle();
        }

        // Just in case -- we are done with the IPC, so there should be no more strict
        // mode violations that have gathered for this thread. Either they have been