File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 4
4
5
5
- IMAP:
6
6
. Fixed bug #64076 (imap_sort() does not return FALSE on failure). (cmb)
7
+ . Fixed bug #76618 (segfault on imap_reopen). (girgias)
7
8
. Fixed bug #80239 (imap_rfc822_write_address() leaks memory). (cmb)
8
9
. Fixed minor regression caused by fixing bug #80220. (cmb)
9
10
. Fixed bug #80242 (imap_mail_compose() segfaults for multipart with rfc822).
Original file line number Diff line number Diff line change @@ -1315,7 +1315,7 @@ PHP_FUNCTION(imap_reopen)
1315
1315
1316
1316
imap_le_struct -> imap_stream = mail_open (imap_le_struct -> imap_stream , ZSTR_VAL (mailbox ), flags );
1317
1317
if (imap_le_struct -> imap_stream == NIL ) {
1318
- zend_list_delete (Z_RES_P (streamind ));
1318
+ zend_list_close (Z_RES_P (streamind ));
1319
1319
php_error_docref (NULL , E_WARNING , "Couldn't re-open stream" );
1320
1320
RETURN_FALSE ;
1321
1321
}
You can’t perform that action at this time.
0 commit comments