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

Commit 6c522c94 authored by Sharvil Nanavati's avatar Sharvil Nanavati Committed by Android (Google) Code Review
Browse files

Merge "DO NOT MERGE ANYWHERE Update GKI_freebuf to gracefully handle NULL." into cw-e-dev

parents 5fb100cc f8d33c65
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -243,6 +243,7 @@ void *GKI_getpoolbuf (UINT8 pool_id)
*******************************************************************************/
void GKI_freebuf (void *p_buf)
{
  if (p_buf)
    osi_free((BUFFER_HDR_T *)p_buf - 1);
}