]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - audiod_command.c
Merge topic branch t/overflow into master
[paraslash.git] / audiod_command.c
index 29c330f36a526d1004cb8595248fb75008033438..6e2f8ee9e4aaf446267270e3be2398a4ee6d7c96 100644 (file)
@@ -114,7 +114,7 @@ static int stat_client_add(int fd, uint64_t mask, int parser_friendly)
        ret = dup(fd);
        if (ret < 0)
                return -ERRNO_TO_PARA_ERROR(errno);
-       new_client = para_calloc(sizeof(*new_client));
+       new_client = zalloc(sizeof(*new_client));
        new_client->fd = ret;
        PARA_INFO_LOG("adding client on fd %d\n", new_client->fd);
        new_client->item_mask = mask;