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

Commit 3709bce6 authored by Akshay Thakker's avatar Akshay Thakker Committed by android-build-merger
Browse files

Merge "Fix memory leak in Bluetooth AVRCP JNI" into mnc-dr-dev

am: 85136fcd

* commit '85136fcd':
  Fix memory leak in Bluetooth AVRCP JNI
parents 56b43a77 85136fcd
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -72,8 +72,7 @@ static void btavrcp_remote_features_callback(bt_bdaddr_t* bd_addr, btrc_remote_f
    }

    checkAndClearExceptionFromCallback(sCallbackEnv, __FUNCTION__);
    /* TODO: I think we leak the addr object, we should add a
     * sCallbackEnv->DeleteLocalRef(addr) */
    sCallbackEnv->DeleteLocalRef(addr);
}

static void btavrcp_get_play_status_callback() {