Skip to content

Commit f5b2ded

Browse files
committed
Merge branch 'PHP-8.0' into master
* PHP-8.0: Fix broken fix for #80239
2 parents 42d6844 + ecd51aa commit f5b2ded

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)