diff options
| author | 2026-03-27 13:10:26 +0000 | |
|---|---|---|
| committer | 2026-03-27 13:10:26 +0000 | |
| commit | cbdcd051c63c4ff98dfb4ff45388e722f8d0a2de (patch) | |
| tree | f2c61a977edce634fc28b9dead3d8bfa5782211c /modules/haproxy.cpp | |
| parent | Move CUList to be declared inside User. (diff) | |
Switch the extensible system to using shared pointers.
Diffstat (limited to 'modules/haproxy.cpp')
| -rw-r--r-- | modules/haproxy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<ssl_cert>(); cert->error = "HAProxy does not forward client TLS certificates"; cert->invalid = true; cert->revoked = true; |
