From cbdcd051c63c4ff98dfb4ff45388e722f8d0a2de Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 27 Mar 2026 13:10:26 +0000 Subject: Switch the extensible system to using shared pointers. --- modules/haproxy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/haproxy.cpp') diff --git a/modules/haproxy.cpp b/modules/haproxy.cpp index 20159b89a..c6eff4a34 100644 --- a/modules/haproxy.cpp +++ b/modules/haproxy.cpp @@ -210,7 +210,7 @@ private: // Create a fake ssl_cert for the user. Ideally we should use the user's // TLS client certificate here but as of 2018-10-16 this is not forwarded // by HAProxy. - auto* cert = new ssl_cert(); + auto cert = std::make_shared(); cert->error = "HAProxy does not forward client TLS certificates"; cert->invalid = true; cert->revoked = true; -- cgit v1.3.1-10-gc9f91