X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=file_write.c;h=eb615153578741f7cdd2a37fb568ea8c5fcaf719;hb=26a032fffa6c6e6f092ed3d14c2b5f08e5c736d6;hp=9a5ed5d7fab7dc01fe46fa5ecab6940ea3a28828;hpb=610cb53b94af8e95326cd44b7845f35cffdb6bf3;p=paraslash.git diff --git a/file_write.c b/file_write.c index 9a5ed5d7..eb615153 100644 --- a/file_write.c +++ b/file_write.c @@ -64,7 +64,7 @@ static int prepare_output_file(struct writer_node *wn) close(fd); return ret; } - pfwd = wn->private_data = para_calloc(sizeof(*pfwd)); + pfwd = wn->private_data = zalloc(sizeof(*pfwd)); pfwd->fd = fd; return 1; }