Fixing two bugs

1) Added "bf" as an option to the config parameter "pw_type".
2) Fixed "double free or corruption" error due to freeing up a variable which had no memory allocated to it