On 2021-11-12 11:33, Piotr Caban wrote:
On 11/12/21 14:40, Thomas Faber wrote:
+ _write(pipefds[1], "a", 1); + WaitForSingleObject(thread_handle, INFINITE); + CloseHandle(thread_handle);
You're leaking pipefds here.
Whoops! Thanks for catching that! V2 incoming with both changes.
Thanks, Thomas