diff options
Diffstat (limited to 'gki/common/gki_buffer.c')
-rw-r--r-- | gki/common/gki_buffer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gki/common/gki_buffer.c b/gki/common/gki_buffer.c index 633b2223a..9f7e329fe 100644 --- a/gki/common/gki_buffer.c +++ b/gki/common/gki_buffer.c @@ -88,6 +88,7 @@ static void gki_init_free_queue (UINT8 id, UINT16 size, UINT16 total, void *p_me hdr = (BUFFER_HDR_T *)((UINT8 *)hdr + act_size); hdr1->p_next = hdr; } + if(hdr1) hdr1->p_next = NULL; p_cb->freeq[id]._p_last = hdr1; } |