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

Commit f8d33c65 authored by Sharvil Nanavati's avatar Sharvil Nanavati
Browse files

DO NOT MERGE ANYWHERE Update GKI_freebuf to gracefully handle NULL.

Change-Id: I45a3100c7d5c7a343996559c36f053881d333e5e
parent 0c46da08
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);
}