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

Commit 299abbde authored by Brian Delwiche's avatar Brian Delwiche Committed by Automerger Merge Worker
Browse files

Merge "Fix potential abort in btu_av_act.cc" into udc-dev am: 33529c0c

parents ff6f339c 33529c0c
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1007,9 +1007,12 @@ void bta_av_rc_msg(tBTA_AV_CB* p_cb, tBTA_AV_DATA* p_data) {
    av.remote_cmd.rc_handle = p_data->rc_msg.handle;
    (*p_cb->p_cback)(evt, &av);
    /* If browsing message, then free the browse message buffer */
    if (p_data->rc_msg.opcode == AVRC_OP_BROWSE &&
        p_data->rc_msg.msg.browse.p_browse_pkt != NULL) {
      bta_av_rc_free_browse_msg(p_cb, p_data);
    }
  }
}

/*******************************************************************************
 *