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_prioq.c
diff --git
a/sound/core/seq/seq_prioq.c
b/sound/core/seq/seq_prioq.c
index
59f775c
..
a519732
100644
(file)
--- a/
sound/core/seq/seq_prioq.c
+++ b/
sound/core/seq/seq_prioq.c
@@
-59,7
+59,7
@@
prioq_t *snd_seq_prioq_new(void)
{
prioq_t *f;
- f =
snd_kcalloc(sizeof(prioq_t
), GFP_KERNEL);
+ f =
kcalloc(1, sizeof(*f
), GFP_KERNEL);
if (f == NULL) {
snd_printd("oops: malloc failed for snd_seq_prioq_new()\n");
return NULL;