Fix leak.
authorDr. Stephen Henson <steve@openssl.org>
Sat, 4 Jan 2003 18:25:24 +0000 (18:25 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 4 Jan 2003 18:25:24 +0000 (18:25 +0000)
apps/speed.c

index 800ecd35d606fc93d137c783b2cbef15f6fd193a..ad455e5073882fab1f6c8b31278aca12ced120a8 100644 (file)
@@ -1700,6 +1700,7 @@ int MAIN(int argc, char **argv)
                                else
                                        EVP_EncryptFinal_ex(&ctx,buf,&outl);
                                d=Time_F(STOP);
+                               EVP_CIPHER_CTX_cleanup(&ctx);
                                }
                        if (evp_md)
                                {