diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/bio_ndef.c')
| -rw-r--r-- | src/lib/libcrypto/asn1/bio_ndef.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/asn1/bio_ndef.c b/src/lib/libcrypto/asn1/bio_ndef.c index 66be025127..f7fa2e69bc 100644 --- a/src/lib/libcrypto/asn1/bio_ndef.c +++ b/src/lib/libcrypto/asn1/bio_ndef.c | |||
| @@ -186,8 +186,7 @@ ndef_prefix_free(BIO *b, unsigned char **pbuf, int *plen, void *parg) | |||
| 186 | 186 | ||
| 187 | ndef_aux = *(NDEF_SUPPORT **)parg; | 187 | ndef_aux = *(NDEF_SUPPORT **)parg; |
| 188 | 188 | ||
| 189 | if (ndef_aux->derbuf) | 189 | free(ndef_aux->derbuf); |
| 190 | free(ndef_aux->derbuf); | ||
| 191 | 190 | ||
| 192 | ndef_aux->derbuf = NULL; | 191 | ndef_aux->derbuf = NULL; |
| 193 | *pbuf = NULL; | 192 | *pbuf = NULL; |
