X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=osx_write.c;h=bc11e61aea24a22596c88a3e4e14f5d7b9ad746c;hp=4bdb0ceb9e1ec5c31ac1ea93e64bc2456633f74b;hb=5c07b5c17b25240495a0acee24ca6b03c8d81e72;hpb=d094f4cc9c28932e1bdee5d6ebb21d74e72a1481 diff --git a/osx_write.c b/osx_write.c index 4bdb0ceb..bc11e61a 100644 --- a/osx_write.c +++ b/osx_write.c @@ -11,9 +11,11 @@ * */ +#include #include #include #include + #include "para.h" #include "fd.h" #include "string.h" @@ -82,7 +84,7 @@ static void init_buffers(struct writer_node *wn) ptrptr = &powd->to; for (i = 0; i < conf->numbuffers_arg; i++) { - *ptrptr = malloc(sizeof(struct osx_buffer)); + *ptrptr = para_malloc(sizeof(struct osx_buffer)); (*ptrptr)->size = 0; (*ptrptr)->remaining = 0; (*ptrptr)->buffer = NULL;