projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcd1513
)
audiod: Add a paranoia check to close_writers().
author
Andre Noll
<maan@systemlinux.org>
Thu, 14 Jan 2010 22:48:24 +0000
(23:48 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Thu, 14 Jan 2010 22:48:24 +0000
(23:48 +0100)
audiod.c
patch
|
blob
|
history
diff --git
a/audiod.c
b/audiod.c
index
2bda0f6
..
4b2c65f
100644
(file)
--- a/
audiod.c
+++ b/
audiod.c
@@
-357,6
+357,7
@@
static void close_writers(struct slot_info *s)
if (s->format < 0)
return;
+ assert(s->wns);
a = afi + s->format;
if (a->num_writers == 0)
writer_cleanup(s->wns);