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

Commit 8581d274 authored by Steven Moreland's avatar Steven Moreland Committed by Gerrit Code Review
Browse files

Merge "Binder: recycle Parcel in finally block"

parents da37e0f4 713c258e
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -1235,10 +1235,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