summaryrefslogtreecommitdiff
path: root/lib9p
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-07-08 19:34:36 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-07-08 19:34:36 -0600
commit8ab5b63e6954929d49a61173dee8d2dcbf6d73bf (patch)
tree5537200e3709cb5c15ccf19fd25fb57826f5b4d0 /lib9p
parent72b9036dc961d9fe7e0e9deb12e87f121a4d0ccf (diff)
parentf6e6d7ccdc63a48988b1ada14718be2a033902b7 (diff)
Merge branch 'lukeshu/proc'HEADmain
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);