aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/details/win32/tls.cxx2
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;