diff options
| author | Jeff Hostetler <jeffhost@microsoft.com> | 2015-04-17 09:30:22 -0400 |
|---|---|---|
| committer | Jeff Hostetler <jeffhost@microsoft.com> | 2015-04-17 09:30:22 -0400 |
| commit | 55c5f756d80cb762fa21054c7460359424428668 (patch) | |
| tree | 6c2f1fe3f56d9541a8be180c64253fc2d856db2e /src/win32 | |
| parent | c332bb70cdf02f202f783485819f65feca953550 (diff) | |
| download | libgit2-55c5f756d80cb762fa21054c7460359424428668.tar.gz | |
Attempt to fix Windows TLS memory leak.
Diffstat (limited to 'src/win32')
| -rw-r--r-- | src/win32/pthread.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/win32/pthread.c b/src/win32/pthread.c index ec45ecbe5..a6465d47f 100644 --- a/src/win32/pthread.c +++ b/src/win32/pthread.c @@ -20,6 +20,8 @@ static DWORD WINAPI git_win32__threadproc(LPVOID lpParameter) thread->result = thread->proc(thread->param); + git__free_thread_global_state(); + return CLEAN_THREAD_EXIT; } |
