summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/eck_prn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ec/eck_prn.c')
-rw-r--r--src/lib/libcrypto/ec/eck_prn.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ec/eck_prn.c b/src/lib/libcrypto/ec/eck_prn.c
index 3f2973e5b6..60b00fddb3 100644
--- a/src/lib/libcrypto/ec/eck_prn.c
+++ b/src/lib/libcrypto/ec/eck_prn.c
@@ -325,8 +325,7 @@ err:
325 BN_free(cofactor); 325 BN_free(cofactor);
326 if (ctx) 326 if (ctx)
327 BN_CTX_free(ctx); 327 BN_CTX_free(ctx);
328 if (buffer != NULL) 328 free(buffer);
329 free(buffer);
330 return (ret); 329 return (ret);
331} 330}
332 331