diff options
Diffstat (limited to 'lib/libcrypto/bio/bss_dgram.c')
-rw-r--r-- | lib/libcrypto/bio/bss_dgram.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libcrypto/bio/bss_dgram.c b/lib/libcrypto/bio/bss_dgram.c index 8f7439c51e6..9160fe40186 100644 --- a/lib/libcrypto/bio/bss_dgram.c +++ b/lib/libcrypto/bio/bss_dgram.c @@ -217,8 +217,7 @@ dgram_free(BIO *a) return 0; data = (bio_dgram_data *)a->ptr; - if (data != NULL) - free(data); + free(data); return (1); } @@ -830,8 +829,7 @@ dgram_sctp_free(BIO *a) return 0; data = (bio_dgram_sctp_data *)a->ptr; - if (data != NULL) - free(data); + free(data); return (1); } |