pidgin/pidgin

Fix a crash on shutdown in kwallet if the wallet was never opened.

The wallet instance variable was not initialized so if the wallet was never opened we were trying to delete and invalid pointer.

Also update the dispose method of the provider to close the wallet as the
tasks in the queue hold a reference to the provider instance as the source
object in their tasks.

Testing Done:
Ran locally with both the kwallet and secret service providers.

Reviewed at https://reviews.imfreedom.org/r/581/
[Desktop Entry]
Name=Pidgin
GenericName=Internet Messenger
Comment=Chat over IM. Supports Jabber/XMPP, and more
Exec=purple3-url-handler %u
TryExec=purple3-url-handler
Icon=pidgin
StartupNotify=false
Terminal=false
NoDisplay=true
Type=Application
Categories=Network;InstantMessaging;RemoteAccess;ConsoleOnly;
MimeType=x-scheme-handler/gg;x-scheme-handler/irc;x-scheme-handler/sip;x-scheme-handler/xmpp;
@USES_MM_CHAT_SECTION@