summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bn/bn_print.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/bn/bn_print.c')
-rw-r--r--src/lib/libcrypto/bn/bn_print.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bn/bn_print.c b/src/lib/libcrypto/bn/bn_print.c
index ea5fa5c3da..ad3a847f01 100644
--- a/src/lib/libcrypto/bn/bn_print.c
+++ b/src/lib/libcrypto/bn/bn_print.c
@@ -157,8 +157,7 @@ BN_bn2dec(const BIGNUM *a)
157 ok = 1; 157 ok = 1;
158 158
159err: 159err:
160 if (bn_data != NULL) 160 free(bn_data);
161 free(bn_data);
162 if (t != NULL) 161 if (t != NULL)
163 BN_free(t); 162 BN_free(t);
164 if (!ok && buf) { 163 if (!ok && buf) {