---
 kernel/trace/latency_hist.c |    1 +
 1 file changed, 1 insertion(+)

Index: linux-3.12.13-rt21/kernel/trace/latency_hist.c
===================================================================
@ linux-3.12.13-rt21/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;