{"author":"Daniel Stenberg","author_email":"daniel@haxx.se","author_time":1741336377,"commit_time":1741342584,"committer":"Daniel Stenberg","committer_email":"daniel@haxx.se","hash":"f4831daa9b2a97e8a2921d6b62cc4dfdd0d8646e","message":"url: call protocol handler's disconnect in Curl_conn_free\n\nFor the case when the connection struct is all setup, the protocol\nhandler allocates data in its setup_connection function, but the\nconnection struct is discarded again before used further because a\nconnection reuse is prefered. Then the handler's disconnect function was\nnot previously called, which then would lead to a memory leak.\n\nI added test case 698 that reproduces the leak and the fix.\n\nReported-by: Philippe Antoine\nCloses #16604\n","parents":["0d1e43af8dccd18b84b46f7bc7a5d57a2bc1ff11"],"tree_hash":"2964371c86470281ac2a54d690e58747ec6949c0"}