Avoid a memory leak.
There is no need for an extra print_pw() function.