summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ec_ameth.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/ec/ec_ameth.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ec/ec_ameth.c b/src/lib/libcrypto/ec/ec_ameth.c
index b41879c431..ec074329f2 100644
--- a/src/lib/libcrypto/ec/ec_ameth.c
+++ b/src/lib/libcrypto/ec/ec_ameth.c
@@ -492,8 +492,7 @@ err:
492 BN_free(order); 492 BN_free(order);
493 if (ctx) 493 if (ctx)
494 BN_CTX_free(ctx); 494 BN_CTX_free(ctx);
495 if (buffer != NULL) 495 free(buffer);
496 free(buffer);
497 return (ret); 496 return (ret);
498} 497}
499 498