X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=alsa_mix.c;h=af4adc46382da236e7fec5786fa3d40234f16546;hb=refs%2Fheads%2Fnext;hp=1d81e5d9dbabbcef772d182eabe6a03ba5a51915;hpb=d5e27e2a346da2f18188d317926a60687d082732;p=paraslash.git diff --git a/alsa_mix.c b/alsa_mix.c index 1d81e5d9..af4adc46 100644 --- a/alsa_mix.c +++ b/alsa_mix.c @@ -52,7 +52,7 @@ static int alsa_mix_open(const char *dev, struct mixer_handle **handle) PARA_INFO_LOG("snd_mixer_{open,attach,register,load}\n"); *handle = NULL; - h = para_calloc(sizeof(*h)); + h = zalloc(sizeof(*h)); h->card = para_strdup(dev? dev : "hw:0"); ret = snd_mixer_open(&h->mixer, 0); if (ret < 0) {