Index: openssl/crypto/engine/eng_lib.c |
=================================================================== |
--- openssl/crypto/engine/eng_lib.c (revision 105093) |
+++ openssl/crypto/engine/eng_lib.c (working copy) |
@@ -125,6 +125,9 @@ |
abort(); |
} |
#endif |
+ /* Free up any dynamically allocated public key methods */ |
+ engine_pkey_meths_free(e); |
+ engine_pkey_asn1_meths_free(e); |
/* Give the ENGINE a chance to do any structural cleanup corresponding |
* to allocation it did in its constructor (eg. unload error strings) */ |
if(e->destroy) |