24589652 multi-master patch is making a couple bad function calls
authorWill Fiveash <will.fiveash@oracle.com>
Fri, 02 Sep 2016 16:39:26 -0500
changeset 6868 f1ff679c879b
parent 6867 87f7fd05f888
child 6869 63619dbf968d
24589652 multi-master patch is making a couple bad function calls
components/krb5/patches/035-multi-master.patch
--- a/components/krb5/patches/035-multi-master.patch	Fri Sep 02 16:39:26 2016 -0500
+++ b/components/krb5/patches/035-multi-master.patch	Fri Sep 02 16:39:26 2016 -0500
@@ -291,8 +291,8 @@
 +{
 +    if (handle->destroy_cache && handle->cache_name) {
 +        if (krb5_cc_resolve(handle->context,
-+                            handle->cache_name, &ccache) == 0)
-+            (void) krb5_cc_destroy (handle->context, ccache);
++                            handle->cache_name, ccache) == 0)
++            (void) krb5_cc_destroy (handle->context, *ccache);
 +    }
 +
 +    free(handle->cache_name);