summaryrefslogtreecommitdiff
path: root/lib9p
diff options
context:
space:
mode:
Diffstat (limited to 'lib9p')
-rw-r--r--lib9p/srv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib9p/srv.c b/lib9p/srv.c
index 343d44b..e1aa26a 100644
--- a/lib9p/srv.c
+++ b/lib9p/srv.c
@@ -608,6 +608,7 @@ void lib9p_srv_worker_loop(struct lib9p_srv *srv) {
/* Record that we have it. */
struct srv_req **reqpp = map_store(&req.parent_sess->reqs, req.tag, &req);
assert(reqpp && *reqpp == &req);
+ heap_take(req.net_bytes);
/* Notify the reader coroutine that we're done with
* its data. */
cr_rpc_send_resp(rpc_handle, 0);