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

Commit 8a9f53e8 authored by Ray Chin's avatar Ray Chin
Browse files

Fix null pointer dereference error for CtsTvTestCases against cf_x86_tv

Bug: 263933383
Test: `atest CtsTvTestCases` against cf_x86_tv-userdebug
Change-Id: Icf4f9909b574f3e6f474fd2bfd3e72f7f290a0fe
parent f004adf2
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -182,7 +182,9 @@ Frontend::~Frontend() {
    // Reset callback
    mCallback = nullptr;
    mIsLocked = false;
    if (mTuner != nullptr) {
        mTuner->removeFrontend(mId);
    }
    mTuner = nullptr;

    return ::ndk::ScopedAStatus::ok();