git.openpandora.org
/
pandora-kernel.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
[pandora-kernel.git]
/
sound
/
drivers
/
dummy.c
diff --git
a/sound/drivers/dummy.c
b/sound/drivers/dummy.c
index
3662c62
..
51f1cc2
100644
(file)
--- a/
sound/drivers/dummy.c
+++ b/
sound/drivers/dummy.c
@@
-419,6
+419,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);
}