diff --git a/tools/perf/util/machine.c b/tools/perf/util/machine.c
index da19be7da284c250e5cff7b84e87a47de5ec7b3e..44e40bad0e336ab7d45c35065d4e1c37346da543 100644
--- a/tools/perf/util/machine.c
+++ b/tools/perf/util/machine.c
@@ -2149,6 +2149,7 @@ static int add_callchain_ip(struct thread *thread,
 
 	al.filtered = 0;
 	al.sym = NULL;
+	al.srcline = NULL;
 	if (!cpumode) {
 		thread__find_cpumode_addr_location(thread, ip, &al);
 	} else {