summaryrefslogtreecommitdiff
path: root/thread
diff options
context:
space:
mode:
Diffstat (limited to 'thread')
-rw-r--r--thread/athread.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread/athread.asm b/thread/athread.asm
index fe14832..41a52e4 100644
--- a/thread/athread.asm
+++ b/thread/athread.asm
@@ -321,7 +321,7 @@ exit_thread:
mov rdi,heap_mbp_offset[r9]
call free
- mov rdi,r9
+ mov rdi,rbx
call free
else
mov rcx,stack_mbp_offset[r9]