mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-29 18:07:08 +03:00
coap_openssl.c: Fix coap_dgram_destroy()
This commit is contained in:
1 parent
c024cc8e0e
commit
712f70d913
1 file changed
+1
@@ -587,6 +587,7 @@ coap_dgram_destroy(BIO *a) {
|
||||
data = (coap_ssl_data *)BIO_get_data(a);
|
||||
if (data != NULL)
|
||||
free(data);
|
||||
BIO_set_data(a, NULL);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user