summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2019-12-16 10:07:15 -0800
committerStanislav Malyshev <stas@php.net>2019-12-16 10:07:15 -0800
commit0dfff646a22ddddf5ca8cecad3b72655402aec7a (patch)
tree2f2551170d799a153a461f422e06d7f753ddcb7b /win32
parent69eaddabf81b172921441ec1d99bd2b34c9c4ce3 (diff)
parent6b010b5d864ccb45e15838b6ca0b1f789e806f97 (diff)
downloadphp-git-0dfff646a22ddddf5ca8cecad3b72655402aec7a.tar.gz
Merge branch 'PHP-7.4'
* PHP-7.4: Fix test Fix bug #78793 Fix build - no model field anymore Fixed bug #78910 Fix #78878: Buffer underflow in bc_shift_addsub Fix test Fix #78862: link() silently truncates after a null byte on Windows Fix #78863: DirectoryIterator class silently truncates after a null byte Fix #78943: mail() may release string with refcount==1 twice
Diffstat (limited to 'win32')
-rw-r--r--win32/sendmail.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/win32/sendmail.c b/win32/sendmail.c
index 98b61ec920..9e31028d58 100644
--- a/win32/sendmail.c
+++ b/win32/sendmail.c
@@ -207,9 +207,6 @@ PHPAPI int TSendMail(char *host, int *error, char **error_message,
/* Create a lowercased header for all the searches so we're finally case
* insensitive when searching for a pattern. */
headers_lc = zend_string_tolower(headers_trim);
- if (headers_lc == headers_trim) {
- zend_string_release_ex(headers_lc, 0);
- }
}
/* Fall back to sendmail_from php.ini setting */