vserver 1.9.3
[linux-2.6.git] / sound / core / seq / seq_timer.c
index 78b2441..753f1c0 100644 (file)
@@ -59,7 +59,7 @@ seq_timer_t *snd_seq_timer_new(void)
 {
        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;