A better way of clearing and free()ing the password text, that makes sure it is not leaked through an exit (return()) path.
A better way of clearing and free()ing the password text, that makes sure it is not leaked through an exit (return()) path.

levaidaniel/kc,levaidaniel/kc,levaidaniel/kc