git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vserver 1.9.3
[linux-2.6.git]
/
sound
/
core
/
seq
/
seq_queue.c
diff --git
a/sound/core/seq/seq_queue.c
b/sound/core/seq/seq_queue.c
index
c9ac37e
..
afb1460
100644
(file)
--- a/
sound/core/seq/seq_queue.c
+++ b/
sound/core/seq/seq_queue.c
@@
-111,7
+111,7
@@
static queue_t *queue_new(int owner, int locked)
{
queue_t *q;
- q =
snd_kcalloc(sizeof(queue_t
), GFP_KERNEL);
+ q =
kcalloc(1, sizeof(*q
), GFP_KERNEL);
if (q == NULL) {
snd_printd("malloc failed for snd_seq_queue_new()\n");
return NULL;