Commit cf9aead
authored
Fix ProxyProtocol double destructor call in HttpTransact::State (#12724)
Removes explicit destructor call for pp_info member in HttpTransact::State::destroy().
The explicit destructor call was causing undefined behavior as the
ProxyProtocol member will be automatically destroyed when the State object is
destroyed. This resulted in a double-free detected by GCC 15 in Fedora 42 builds.
The member variable pp_info is a regular class member, not allocated with
placement new, so it will be properly destroyed automatically when the State
object is destroyed or when the destructor runs.1 parent 7d8a3a0 commit cf9aead
1 file changed
+0
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
889 | 889 | | |
890 | 890 | | |
891 | 891 | | |
892 | | - | |
893 | | - | |
894 | 892 | | |
895 | 893 | | |
896 | 894 | | |
| |||
0 commit comments