Only free hx509ctx if its actually allocated
This commit is contained in:
		| @@ -535,6 +535,7 @@ krb5_free_context(krb5_context context) | |||||||
|     krb5_set_send_to_kdc_func(context, NULL, NULL); |     krb5_set_send_to_kdc_func(context, NULL, NULL); | ||||||
|  |  | ||||||
| #ifdef PKINIT | #ifdef PKINIT | ||||||
|  |     if (context->hx509ctx) | ||||||
| 	hx509_context_free(&context->hx509ctx); | 	hx509_context_free(&context->hx509ctx); | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Love Hornquist Astrand
					Love Hornquist Astrand