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

Commit e06c7729 authored by Paul Wang's avatar Paul Wang Committed by Gerrit Code Review
Browse files

Merge "Fix coverity issue: Null Point Crash Issue" into main

parents 838d9372 2376daf2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3008,7 +3008,7 @@ bool iterate_supported_event_list_for_interim_rsp(void* data, void* cb_data) {
static void rc_notification_interim_timeout(btif_rc_device_cb_t* p_dev,
                                            uint8_t event_id) {
  /* Device disconnections clear the event list but can't free the timer */
  if (p_dev == NULL || p_dev->rc_supported_event_list) {
  if (p_dev == NULL || p_dev->rc_supported_event_list == NULL) {
    LOG_WARN("%s: timeout for null device or event list", __func__);
    return;
  }