X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=oss_write.c;h=2afad677377825a8cafd48426fc965613c04b8a0;hb=26a032fffa6c6e6f092ed3d14c2b5f08e5c736d6;hp=0565167c256a43bfe86a6442f195a320e1458db8;hpb=610cb53b94af8e95326cd44b7845f35cffdb6bf3;p=paraslash.git diff --git a/oss_write.c b/oss_write.c index 0565167c..2afad677 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);