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

Commit 9f8120de authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

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

parents 99306241 1485373d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1285,6 +1285,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;