]> granicus.if.org Git - php/commit
Fix #79199: curl_copy_handle() memory leak
authorChristoph M. Becker <cmbecker69@gmx.de>
Wed, 11 Mar 2020 17:29:40 +0000 (18:29 +0100)
committerChristoph M. Becker <cmbecker69@gmx.de>
Thu, 12 Mar 2020 10:23:53 +0000 (11:23 +0100)
commit2b5fc8e325e3f385851ab7a7a77010bbccd2b16e
tree9b26a7f4832483fb2a667c5cdfd09cbbf852ac8b
parent7c081db885756d7b176a55b90b8746f664d1e042
Fix #79199: curl_copy_handle() memory leak

`curl_copy_handle()` already registers a new resource, so we must not
increase the refcount of the original resource.
NEWS
ext/curl/interface.c
ext/curl/tests/bug79199.phpt [new file with mode: 0644]