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

Commit 36f8726b authored by Abel Lucas's avatar Abel Lucas Committed by Automerger Merge Worker
Browse files

Merge "Fix pending encryption queue memory leak" am: 286b2ce9

parents bdef05ab 286b2ce9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4973,6 +4973,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);
      }
    }
  }