diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index c521b7347482509e3d862f7bffbcf095b8177fd8..b583ff7656bb73493dd9f9633b22e311723701f2 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -5624,7 +5624,6 @@ static int tracing_open_pipe(struct inode *inode, struct file *filp)
 	return ret;
 
 fail:
-	kfree(iter->trace);
 	kfree(iter);
 	__trace_array_put(tr);
 	mutex_unlock(&trace_types_lock);