]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - osx_write.c
Use para_malloc() instead of malloc() everywhere.
[paraslash.git] / osx_write.c
index 4bdb0ceb9e1ec5c31ac1ea93e64bc2456633f74b..aa95d38314a169f7dcb37f83634ca969f97857c5 100644 (file)
@@ -82,7 +82,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;