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 800ecd3..ad455e5 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)
                                {