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

Commit df8a74bc 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 SNDRV_TIMER_IOCTL_PARAMS"

parents 94317a9f c9de373e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1750,6 +1750,7 @@ static int snd_timer_user_params(struct file *file,
	if (tu->timeri->flags & SNDRV_TIMER_IFLG_EARLY_EVENT) {
		if (tu->tread) {
			struct snd_timer_tread tread;
			memset(&tread, 0, sizeof(tread));
			tread.event = SNDRV_TIMER_EVENT_EARLY;
			tread.tstamp.tv_sec = 0;
			tread.tstamp.tv_nsec = 0;