X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=oss_write.c;h=96d7b1871a941bff1662ae2a9512b85c79e7b4b9;hb=4ce5b6570ed83ef2ab5296f369f147593507286b;hp=1a837e5700c7cfdb7e86951f8ae999645c49bd67;hpb=e3a7e12639c34fd86d48a072beb48add8c498d09;p=paraslash.git diff --git a/oss_write.c b/oss_write.c index 1a837e57..96d7b187 100644 --- a/oss_write.c +++ b/oss_write.c @@ -101,7 +101,7 @@ static int oss_init(struct writer_node *wn, unsigned sample_rate, { int ret, format; unsigned ch, rate; - struct private_oss_write_data *powd = para_calloc(sizeof(*powd)); + struct private_oss_write_data *powd = zalloc(sizeof(*powd)); const char *dev = WRITE_CMD_OPT_STRING_VAL(OSS, DEVICE, wn->lpr); PARA_INFO_LOG("opening %s\n", dev);