diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2020-10-15 12:55:44 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2020-10-15 12:56:02 +0200 |
commit | 7899ac4c14b6841d0e86a5003e7f7c6cd823d611 (patch) | |
tree | 352ad700f9d46e30b19e784dfebfdcbb0f554632 /ext/imap/php_imap.c | |
parent | fb246bec142b19ec0329c964bd73b32566343661 (diff) | |
parent | 5941b30bb889afcdd7684f9e0ce05ce72bb8256b (diff) | |
download | php-git-7899ac4c14b6841d0e86a5003e7f7c6cd823d611.tar.gz |
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix #80239: imap_rfc822_write_address() leaks memory
Diffstat (limited to 'ext/imap/php_imap.c')
-rw-r--r-- | ext/imap/php_imap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c index fde64aeae1..9c8bb02514 100644 --- a/ext/imap/php_imap.c +++ b/ext/imap/php_imap.c @@ -2321,6 +2321,7 @@ PHP_FUNCTION(imap_subscribe) } else { RETURN_FALSE; } + mail_free_address(&addr); } /* }}} */ |