summaryrefslogtreecommitdiff
path: root/src/alloc-override-win.c
diff options
context:
space:
mode:
authorDaan <daan@microsoft.com>2019-06-22 08:20:07 -0700
committerGitHub <noreply@github.com>2019-06-22 08:20:07 -0700
commit8ba50d63f280b92d24100a5942979f83295e0c5c (patch)
tree4f848db1a3963163bd1228248234a649f0ab1981 /src/alloc-override-win.c
parent6208e51415afb0f0336f7b231b55db7adddf49ab (diff)
parentdef97b0fd14dbdabad5a8c1a9e4ac56ee5bd51bb (diff)
Merge pull request #1 from chosungmann/fix-spelling-errors
Fix spelling errors
Diffstat (limited to 'src/alloc-override-win.c')
-rw-r--r--src/alloc-override-win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloc-override-win.c b/src/alloc-override-win.c
index 3e0caf2..fc50777 100644
--- a/src/alloc-override-win.c
+++ b/src/alloc-override-win.c
@@ -34,7 +34,7 @@ by us is freed after we unpatched.
There are two tricky situations to deal with:
-1. The Thread Local Storage (TLS): when the main thead stops it will call registered
+1. The Thread Local Storage (TLS): when the main thread stops it will call registered
callbacks on TLS entries (allocated by `FlsAlloc`). This is done by the OS
before any DLL's are unloaded. Unfortunately, the C runtime registers such
TLS entries with CRT allocated memory which is freed in the callback.