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

Commit eff3de50 authored by Ray Chin's avatar Ray Chin Committed by Automerger Merge Worker
Browse files

Fix fd close multiple times issue am: 787eb4cb

parents 9f5a97d6 787eb4cb
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -368,7 +368,7 @@ TunerHidlFilter::~TunerHidlFilter() {
    }
    }


    hidl_handle handle;
    hidl_handle handle;
    handle.setTo(makeFromAidl(in_handle), true);
    handle.setTo(makeFromAidl(in_handle));
    HidlResult res = mFilter->releaseAvHandle(handle, in_avDataId);
    HidlResult res = mFilter->releaseAvHandle(handle, in_avDataId);
    if (res != HidlResult::SUCCESS) {
    if (res != HidlResult::SUCCESS) {
        return ::ndk::ScopedAStatus::fromServiceSpecificError(static_cast<int32_t>(res));
        return ::ndk::ScopedAStatus::fromServiceSpecificError(static_cast<int32_t>(res));