diff --git a/src/audio/kpb.c b/src/audio/kpb.c index fb71b3638..0e8a9bfff 100644 --- a/src/audio/kpb.c +++ b/src/audio/kpb.c @@ -264,6 +264,7 @@ static size_t kpb_allocate_history_buffer(struct comp_data *kpb, if (!new_hb) return 0; history_buffer->next = new_hb; + new_hb->next = kpb->history_buffer; new_hb->state = KPB_BUFFER_OFF; new_hb->prev = history_buffer; history_buffer = new_hb;