soc.2008.masterpassword: 6e2d808e: Minor NULL check.
qulogic at pidgin.im
qulogic at pidgin.im
Sun Nov 20 04:35:49 EST 2011
----------------------------------------------------------------------
Revision: 6e2d808e411c9fb2a750c26ae9d06e2d460fb364
Parent: 7938c7a109597329a03232963d305e5527725824
Author: qulogic at pidgin.im
Date: 11/20/11 00:39:45
Branch: im.pidgin.soc.2008.masterpassword
URL: http://d.pidgin.im/viewmtn/revision/info/6e2d808e411c9fb2a750c26ae9d06e2d460fb364
Changelog:
Minor NULL check.
Changes against parent 7938c7a109597329a03232963d305e5527725824
patched libpurple/plugins/keyrings/internalkeyring.c
-------------- next part --------------
============================================================
--- libpurple/plugins/keyrings/internalkeyring.c 63e268e2432e6e8e06ca986e76c1de241f1fdcea
+++ libpurple/plugins/keyrings/internalkeyring.c 834055ea164fa2432a1568b853b835a7d4a9cc9a
@@ -117,7 +117,8 @@ internal_keyring_close(GError **error)
static void
internal_keyring_close(GError **error)
{
- g_hash_table_destroy(internal_keyring_passwords);
+ if (internal_keyring_passwords)
+ g_hash_table_destroy(internal_keyring_passwords);
internal_keyring_passwords = NULL;
}
More information about the Commits
mailing list