Skip to content

Commit ecd51aa

Browse files
committed
Merge branch 'PHP-7.4' into PHP-8.0
* PHP-7.4: Fix broken fix for #80239
2 parents b7c1834 + bc214c8 commit ecd51aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/imap/php_imap.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1849,7 +1849,6 @@ PHP_FUNCTION(imap_subscribe)
18491849
} else {
18501850
RETURN_FALSE;
18511851
}
1852-
mail_free_address(&addr);
18531852
}
18541853
/* }}} */
18551854

@@ -2251,8 +2250,9 @@ PHP_FUNCTION(imap_rfc822_write_address)
22512250
if (string) {
22522251
RETVAL_STR(string);
22532252
} else {
2254-
RETURN_FALSE;
2253+
RETVAL_FALSE;
22552254
}
2255+
mail_free_address(&addr);
22562256
}
22572257
/* }}} */
22582258

0 commit comments

Comments
 (0)