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

Commit 2e4fe31d authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "codec2: do not close handle in _C2FenceFactory::CreateFromNativeHandle"...

Merge "codec2: do not close handle in _C2FenceFactory::CreateFromNativeHandle" into main am: 0ab78043 am: 5a18543b

Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/3081843



Change-Id: Iaaccc6c70eefc5a2314faac41da113f49469a543
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 2422db37 5a18543b
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -533,8 +533,7 @@ C2Fence _C2FenceFactory::CreateFromNativeHandle(const native_handle_t* handle) {
            break;
        default:
            ALOGV("Unsupported fence type %d", type);
            // If this is malformed-handle close the handle here.
            (void) native_handle_close(handle);
            // Nothing else to do. The handle is owned by the caller.
            // return a null-fence in this case
            break;
    }