Blob Blame History Raw
--- crash-trace-command-2.0/trace.c.orig
+++ crash-trace-command-2.0/trace.c
@@ -251,7 +251,6 @@ static int ftrace_init_pages(struct ring
 
 	cpu_buffer->linear_pages = calloc(sizeof(ulong), nr_pages + 1);
 	if (cpu_buffer->linear_pages == NULL) {
-		free(cpu_buffer->pages);
 		return -1;
 	}