Woopsie...
[openssl.git] / crypto / engine / eng_lib.c
index d29258c04e88e133cb5e3447a761bdc151784c0d..5103fd4154983b11c63dc871748fe6b6da0cb48c 100644 (file)
@@ -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))();
 static void engine_cleanup_cb_free(ENGINE_CLEANUP_ITEM *item)
        {
        (*(item->cb))();
-       OPENSSL_free(cb);
+       OPENSSL_free(item);
        }
 void ENGINE_cleanup(void)
        {
        }
 void ENGINE_cleanup(void)
        {