]> granicus.if.org Git - gc/commit
Fix sizeof in GC_push_thread_structures
authorIvan Maidanski <ivmai@mail.ru>
Wed, 17 Oct 2012 17:21:11 +0000 (21:21 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 17 Oct 2012 17:21:11 +0000 (21:21 +0400)
commit4d6dd8b78fdfb0d60fa686263363e07a4bb5137c
treec98b41249e571a0fa91cee9759651ffce2fd5fac
parent36e0b481de4011e5808eb62ba3a3c12c633ec685
Fix sizeof in GC_push_thread_structures

* pthread_support.c (GC_push_thread_structures): Fix sizeof argument
(take size of GC_thread_key variable instead of its address) if
THREAD_LOCAL_ALLOC.
* win32_threads.c (GC_push_thread_structures): Likewise.
pthread_support.c
win32_threads.c