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

Commit 286b2ce9 authored by Abel Lucas's avatar Abel Lucas Committed by Gerrit Code Review
Browse files

Merge "Fix pending encryption queue memory leak"

parents d64126cb 8b90a5dd
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);
      }
    }
  }