diff --git a/test/quic-openssl-docker/hq-interop/quic-hq-interop.c b/test/quic-openssl-docker/hq-interop/quic-hq-interop.c index bedfeb2bc7..d13ef4e833 100644 --- a/test/quic-openssl-docker/hq-interop/quic-hq-interop.c +++ b/test/quic-openssl-docker/hq-interop/quic-hq-interop.c @@ -825,6 +825,9 @@ end: SSL_CTX_free(*ctx); SSL_free(*ssl); BIO_ADDR_free(peer_addr); + *ctx = NULL; + *ssl = NULL; + peer_addr = NULL; return 0; }