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

Commit eeb99e6b 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: e225df4a

* commit 'e225df4a':
  Fix memory leak in Bluetooth AVRCP JNI
parents db872b83 e225df4a
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() {