When you are forking a process that then exits the parent process should to a wait or waitpid to remove the entry fom the process table.
I am not really sure about Windows but I assume the layer that emulates fork would also emulate this, so even without a memory leak your code would waste ressources.
In reply to Re^2: Memory Leak Caused by Forking?
by morgon
in thread Memory Leak Caused by Forking?
by nwboy74
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |