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

Commit 8b90a5dd authored by uael's avatar uael Committed by Abel Lucas
Browse files

Fix pending encryption queue memory leak

Bug: 286259314
Change-Id: I3998816d8700cc6d74d5fd03133527a8e0c8b5c4
parent cd5215df
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4952,6 +4952,7 @@ static void btm_sec_check_pending_enc_req(tBTM_SEC_DEV_REC* p_dev_rec,
          (*p_e->p_callback)(&p_dev_rec->bd_addr, transport, p_e->p_ref_data,
                             res);
        fixed_queue_try_remove_from_queue(btm_cb.sec_pending_q, (void*)p_e);
        osi_free(p_e);
      }
    }
  }