diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-10 16:35:00 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-10 16:35:00 +0200 |
commit | 69848e3b70a078a5ba118f0a5ab08e1323954cb2 (patch) | |
tree | b233a4c2fffe8387f42d2ea68dac0edcc165b751 | |
parent | 3f984b260e67ee5f2ac3cb9b85e0f3f2f95a7fc7 (diff) |
Fix win32 TLS bug
-rw-r--r-- | odb/details/win32/tls.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/details/win32/tls.cxx b/odb/details/win32/tls.cxx index 29eb5fb..a36b7a7 100644 --- a/odb/details/win32/tls.cxx +++ b/odb/details/win32/tls.cxx @@ -139,7 +139,7 @@ namespace odb operator new (sizeof (process_data) + sizeof (dtor_func) * c))); memcpy (pd->dtors, proc_data_->dtors, n * sizeof (dtor_func)); - memset (proc_data_->dtors + n, 0, sizeof (dtor_func) * (c - n)); + memset (pd->dtors + n, 0, sizeof (dtor_func) * (c - n)); pd->size = n; pd->capacity = c; |