coap_openssl.c: Fix coap_dgram_destroy()

This commit is contained in:
Jon Shallow committed 2026-03-24 17:22:07 +00:00
1 parent c024cc8e0e
commit 712f70d913
1 file changed
+1
+1
View File
@@ -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;
}