diff options
Diffstat (limited to 'alloc.c')
-rw-r--r-- | alloc.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -102,6 +102,11 @@ struct mog_rbuf *mog_rbuf_new(size_t size) else rbuf = xmalloc(bytes); rbuf->rcapa = size; + /* + * do not initialize rsize here, we only need rsize when we detach + * a TLS rbuf and associate it with a mog_fd, not in the common + * case where the rbuf remains thread-local + */ return rbuf; } |