Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary X-RT-Original-Encoding: iso-8859-1 Content-Length: 341 I have reviewed the submitted patch and modified it slightly to apply a cast. I have also added mutex locking to krb5_mcc_destroy although the reality is that if you are about to free the memory there is nothing much that locking can do to help prevent the crash if one thread destroys the ccache while it is still in use by other threads.