Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3f5f0748 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "coresight: perf: Fix NULL point dereference issue"

parents 119d100a 83359627
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -154,7 +154,7 @@ static void free_event_data(struct work_struct *work)
		struct list_head **ppath;

		ppath = etm_event_cpu_path_ptr(event_data, cpu);
		source = coresight_get_source(event_data->path[cpu]);
		source = coresight_get_source(*ppath);
		if (!(IS_ERR_OR_NULL(*ppath)))
			coresight_release_path(source, *ppath);
		*ppath = NULL;