]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - oss_write.c
Merge topic branch t/overflow into master
[paraslash.git] / oss_write.c
index 1a837e5700c7cfdb7e86951f8ae999645c49bd67..96d7b1871a941bff1662ae2a9512b85c79e7b4b9 100644 (file)
@@ -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);