soc.2008.masterpassword: 8653d39d: Free the keyring when the KWallet plugin...
qulogic at pidgin.im
qulogic at pidgin.im
Fri Feb 3 01:56:11 EST 2012
----------------------------------------------------------------------
Revision: 8653d39de1dfa37fb8320a937bdf210ba018537e
Parent: 5137491777eedb18bf61e2165b582b9dfea14c92
Author: qulogic at pidgin.im
Date: 01/28/12 00:46:32
Branch: im.pidgin.soc.2008.masterpassword
URL: http://d.pidgin.im/viewmtn/revision/info/8653d39de1dfa37fb8320a937bdf210ba018537e
Changelog:
Free the keyring when the KWallet plugin is unloaded.
Changes against parent 5137491777eedb18bf61e2165b582b9dfea14c92
patched libpurple/plugins/keyrings/kwallet.cpp
-------------- next part --------------
============================================================
--- libpurple/plugins/keyrings/kwallet.cpp b9cd47e119d2bb255de663900016fa169d41dca2
+++ libpurple/plugins/keyrings/kwallet.cpp 448c2b3e44be76c56e6d72771dc0b1be8341c268
@@ -43,7 +43,7 @@
#define KWALLET_AUTHOR "QuLogic (qulogic[at]pidgin.im)"
#define KWALLET_ID "keyring-kwallet"
-PurpleKeyring *keyring_handler;
+PurpleKeyring *keyring_handler = NULL;
#define ERR_KWALLETPLUGIN kwallet_plugin_error_domain()
@@ -354,6 +354,9 @@ kwallet_unload(PurplePlugin *plugin)
kwallet_close(NULL);
+ purple_keyring_free(keyring_handler);
+ keyring_handler = NULL;
+
return TRUE;
}
More information about the Commits
mailing list