Commit 540c0a7a authored by James Almer's avatar James Almer

thread: destroy the thread before freeing the dav1d_win32_thread_t struct

parent fc8e06d5
......@@ -75,6 +75,7 @@ void dav1d_pthread_join(pthread_t thread, void** res) {
if (res != NULL)
*res = th->res;
CloseHandle(th->h);
free(th);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment