Index: linux-3.12.19-rt30/kernel/trace/latency_hist.c =================================================================== @ linux-3.12.19-rt30/kernel/trace/latency_hist.c:316 @ static void *l_next(struct seq_file *m, if (++*pos >= MAX_ENTRY_NUM) { atomic_inc(&my_hist->hist_mode); + kfree(p); return NULL; } *index_ptr = *pos;