]> granicus.if.org Git - php/commit
Fix #80239: imap_rfc822_write_address() leaks memory
authorChristoph M. Becker <cmbecker69@gmx.de>
Thu, 15 Oct 2020 10:51:10 +0000 (12:51 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Thu, 15 Oct 2020 10:54:53 +0000 (12:54 +0200)
commit5941b30bb889afcdd7684f9e0ce05ce72bb8256b
tree88a91a67bd90046db231a93e5aab09930b29a638
parenta29016d70d72dacb688b4df334508edb550d688f
Fix #80239: imap_rfc822_write_address() leaks memory

We have to free the address when we're finished with it.
NEWS
ext/imap/php_imap.c
ext/imap/tests/imap_rfc822_write_address_basic.phpt [new file with mode: 0644]