Changes malloc to zmalloc
[ust.git] / libustcomm / multipoll.c
index 1210b93dd9d3714ddcb7e9dd17ce2741c2927aa0..80426e3001a3de44e3db66e743fdf259f8dbcb11 100644 (file)
@@ -39,8 +39,8 @@ int multipoll_init(struct mpentries *ent)
        ent->n_used = 0;
        ent->n_avail = INITIAL_N_AVAIL;
 
-       ent->pollfds = (struct pollfd *) malloc(sizeof(struct pollfd) * INITIAL_N_AVAIL);
-       ent->extras = (struct pollfd_extra *) malloc(sizeof(struct pollfd_extra) * INITIAL_N_AVAIL);
+       ent->pollfds = (struct pollfd *) zmalloc(sizeof(struct pollfd) * INITIAL_N_AVAIL);
+       ent->extras = (struct pollfd_extra *) zmalloc(sizeof(struct pollfd_extra) * INITIAL_N_AVAIL);
 
        return 0;
 }
This page took 0.022198 seconds and 4 git commands to generate.