--- a/libpurple/ciphers/hmac.c Sat Jun 15 22:10:09 2013 +0530 +++ b/libpurple/ciphers/hmac.c Sat Jun 15 22:54:05 2013 +0530 @@ -263,6 +263,8 @@ PurpleCipher *cipher = PURPLE_CIPHER(obj); PurpleHMACCipherPrivate *priv = PURPLE_HMAC_CIPHER_GET_PRIVATE(cipher); + purple_hmac_cipher_reset(cipher); + if (priv->hash != NULL) g_object_unref(priv->hash);