diff --git a/crypto/engine/eng_lib.c b/crypto/engine/eng_lib.c index d29258c04e88e133cb5e3447a761bdc151784c0d..5103fd4154983b11c63dc871748fe6b6da0cb48c 100644 --- a/crypto/engine/eng_lib.c +++ b/crypto/engine/eng_lib.c @@ -160,7 +160,7 @@ void engine_cleanup_add_last(ENGINE_CLEANUP_CB *cb) static void engine_cleanup_cb_free(ENGINE_CLEANUP_ITEM *item) { (*(item->cb))(); - OPENSSL_free(cb); + OPENSSL_free(item); } void ENGINE_cleanup(void) {