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

Commit da402f95 authored by Jakub Pawłowski's avatar Jakub Pawłowski Committed by Automerger Merge Worker
Browse files

Merge "packet_fragmenter: fix potential memory leak" am: eee60acf

parents d03ca4d5 eee60acf
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -295,6 +295,7 @@ static void reassemble_and_dispatch_iso(UNUSED_ATTR BT_HDR* packet) {
          ((boundary_flag == HCI_ISO_BF_FIRST_FRAGMENTED_PACKET) &&
           (iso_full_len <= packet->len))) {
        LOG_ERROR("%s corrupted ISO frame", __func__);
        buffer_allocator->free(packet);
        return;
      }