All process resources are released when a process is terminated
There is In M. Russinovich book, Windows Internals :
In whatever way a process ceases to exist, there can never be any leaks. That is, all process’s private
memory is freed automatically by the kernel, the address space is destroyed, all handles to kernel
objects are closed, etc. If open handles to the process still exist (the EPROCESS structure still exists), then
other processes can still gain access to some process-management information, such as the process
exit code (GetExitCodeProcess). Once these handles are closed, the EPROCESS is properly destroyed,
and there’s truly nothing left of the process.