projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: dummy: Fix a use-after-free at closing
[cascardo/linux.git]
/
sound
/
drivers
/
dummy.c
diff --git
a/sound/drivers/dummy.c
b/sound/drivers/dummy.c
index
c0f8f61
..
172dacd
100644
(file)
--- a/
sound/drivers/dummy.c
+++ b/
sound/drivers/dummy.c
@@
-420,6
+420,7
@@
static int dummy_hrtimer_stop(struct snd_pcm_substream *substream)
static inline void dummy_hrtimer_sync(struct dummy_hrtimer_pcm *dpcm)
{
+ hrtimer_cancel(&dpcm->timer);
tasklet_kill(&dpcm->tasklet);
}