summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--thread_macho64/athread.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_macho64/athread.s b/thread_macho64/athread.s
index 980cdb3..f648c53 100644
--- a/thread_macho64/athread.s
+++ b/thread_macho64/athread.s
@@ -274,7 +274,7 @@ exit_thread:
mov rdi,heap_mbp_offset[r9]
att_call _free
- mov rdi,r9
+ mov rdi,rbx
att_call _free
.else
mov rcx,stack_mbp_offset[r9]