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_timer.c
diff --git
a/sound/core/seq/seq_timer.c
b/sound/core/seq/seq_timer.c
index
78b2441
..
753f1c0
100644
(file)
--- a/
sound/core/seq/seq_timer.c
+++ b/
sound/core/seq/seq_timer.c
@@
-59,7
+59,7
@@
seq_timer_t *snd_seq_timer_new(void)
{
seq_timer_t *tmr;
{
seq_timer_t *tmr;
- tmr =
snd_kcalloc(sizeof(seq_timer_t
), GFP_KERNEL);
+ tmr =
kcalloc(1, sizeof(*tmr
), GFP_KERNEL);
if (tmr == NULL) {
snd_printd("malloc failed for snd_seq_timer_new() \n");
return NULL;
if (tmr == NULL) {
snd_printd("malloc failed for snd_seq_timer_new() \n");
return NULL;