X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=alsa_mix.c;h=af4adc46382da236e7fec5786fa3d40234f16546;hb=9055c71be97f1095dcdbd83da305b600f204f763;hp=1d81e5d9dbabbcef772d182eabe6a03ba5a51915;hpb=e5de57de1b8bf1df96c152fc92f5a49f75d6d96c;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) {