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

Commit 4570b443 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ALSA: timer: Fix leak in events via snd_timer_user_tinterrupt"

parents 40bcac26 2965afa8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1363,6 +1363,7 @@ static void snd_timer_user_tinterrupt(struct snd_timer_instance *timeri,
	}
	if ((tu->filter & (1 << SNDRV_TIMER_EVENT_RESOLUTION)) &&
	    tu->last_resolution != resolution) {
		memset(&r1, 0, sizeof(r1));
		r1.event = SNDRV_TIMER_EVENT_RESOLUTION;
		r1.tstamp = tstamp;
		r1.val = resolution;