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

Commit 0ee0e8a4 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 8b8b5f9f 5ec4e77a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1352,6 +1352,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;