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

Commit 0ab78043 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "codec2: do not close handle in _C2FenceFactory::CreateFromNativeHandle" into main

parents 37e9203e ccb8fd3b
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;
    }