Hey every one if we spawn a child process and that child process allocates some memory dynamically from the heap and then we kill that child process without letting it free up the resources what will happen will the resources be freed automatically by the OS. Or they want be freed until the parent is still running??