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

Commit 255405eb authored by Jeff Brown's avatar Jeff Brown Committed by Android Git Automerger
Browse files

am 86b2ecdd: Merge "fix mem leak on error handling"

* commit '86b2ecdd':
  fix mem leak on error handling
parents 75765d3a 86b2ecdd
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1472,6 +1472,8 @@ status_t Parcel::continueWrite(size_t desired)
        if (objectsSize) {
            objects = (size_t*)malloc(objectsSize*sizeof(size_t));
            if (!objects) {
                free(data);

                mError = NO_MEMORY;
                return NO_MEMORY;
            }