summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-11-01 01:07:56 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-11-01 01:07:56 +0100
commite27192e20712a269aef8e997ceeaa02109292c8b (patch)
tree485b18648e094c556d7010ab6ec3547dcbd52b4f
parentcad3bc5890ecd2d911d6f063a42ef48d08f98918 (diff)
proc: Fix missing free
On MACH_SEND_TIMED_OUT we defer sending the message to just-created thread, we allocate a copy of the message to that end. We need to free that once the message is indeed sent.
-rw-r--r--proc/stubs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/proc/stubs.c b/proc/stubs.c
index ea0ae7a6..dc621ba1 100644
--- a/proc/stubs.c
+++ b/proc/stubs.c
@@ -67,6 +67,7 @@ blocking_message_send (void *arg)
break;
}
+ free (req);
return 0;
}