Fix a crash in the wincred providered when adding a password

Review Request #622 — Created April 16, 2021 and submitted — Latest diff uploaded

Information

pidgin/pidgin
default
0618567b411d

Reviewers

Fix a crash in the wincred providered when adding a password.

Something about the way the freeing works on Windows causes a segfault if we memset the memory to 0 first.

Created a new account, stored the password, verified it was in the Credential Manager and that Pidgin didn't crash.