diff options
author | Chris Robinson <[email protected]> | 2016-07-09 16:42:36 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-07-09 16:42:36 -0700 |
commit | fe2fb8104774580b074429055083be3b125be95d (patch) | |
tree | 5e8dc7d4114b9a95284d96af2283dc52aaa4adf8 /common | |
parent | 0aae992f946c397dbed79b0b7dd41fb1f9fe0087 (diff) |
Fix a direct access to a UIntMap
Diffstat (limited to 'common')
-rw-r--r-- | common/threads.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/threads.c b/common/threads.c index 1e528b5b..24a197a4 100644 --- a/common/threads.c +++ b/common/threads.c @@ -413,8 +413,8 @@ static void NTAPI altss_callback(void* UNUSED(handle), DWORD reason, void* UNUSE LockUIntMapRead(&TlsDestructors); for(i = 0;i < TlsDestructors.size;i++) { - void *ptr = altss_get(TlsDestructors.array[i].key); - altss_dtor_t callback = (altss_dtor_t)TlsDestructors.array[i].value; + void *ptr = altss_get(TlsDestructors.keys[i]); + altss_dtor_t callback = (altss_dtor_t)TlsDestructors.values[i]; if(ptr && callback) callback(ptr); } |