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

Commit 9817ef5e authored by Chris Manton's avatar Chris Manton
Browse files

Security: Fix heap use after free

Bug: 243922806
Tag: #security
Test: visual inspection
Ignore-AOSP-First: Security
Change-Id: I052310c0a087062ed033748178a7331331f2f23e
parent be07b0aa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -386,8 +386,8 @@ static void btif_a2dp_sink_command_ready(BT_HDR_RIGID* p_msg) {
      break;
  }

  osi_free(p_msg);
  LOG_VERBOSE("%s: %s DONE", __func__, dump_media_event(p_msg->event));
  osi_free(p_msg);
}

void btif_a2dp_sink_update_decoder(const uint8_t* p_codec_info) {