If an engine comes up explicitely, it must also come down explicitely
[openssl.git] / apps / cms.c
index 306e159f7eda867fbdb336df20c97ce58092f991..3db36fee02fe6bbb2966fa1f7a3a704b08e89839 100644 (file)
@@ -1109,6 +1109,7 @@ int cms_main(int argc, char **argv)
     EVP_PKEY_free(key);
     CMS_ContentInfo_free(cms);
     CMS_ContentInfo_free(rcms);
+    release_engine(e);
     BIO_free(rctin);
     BIO_free(in);
     BIO_free(indata);