summaryrefslogtreecommitdiff
path: root/thread_macho64
diff options
context:
space:
mode:
authorJohn van Groningen2012-03-14 11:51:08 +0000
committerJohn van Groningen2012-03-14 11:51:08 +0000
commitb0a3c74c2155af81b9345b5e2e5afab45efb6f9c (patch)
tree9915185f4777ff68a808f4ea2f4f7b81d9eecccc /thread_macho64
parentadd thread safe version for Mac OS X (64 bit Intel) (diff)
fix free of clean thread local storage
Diffstat (limited to 'thread_macho64')
-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]