Skip to content

Commit 6965f22

Browse files
author
Ilia Alshanetsky
committed
MFH
1 parent f7a8499 commit 6965f22

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/ftp/php_ftp.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1123,6 +1123,8 @@ PHP_FUNCTION(ftp_close)
11231123

11241124
ZEND_FETCH_RESOURCE(ftp, ftpbuf_t*, &z_ftp, -1, le_ftpbuf_name, le_ftpbuf);
11251125

1126+
ftp_quit(ftp);
1127+
11261128
RETURN_BOOL(zend_list_delete(Z_LVAL_P(z_ftp)) == SUCCESS);
11271129
}
11281130
/* }}} */

0 commit comments

Comments
 (0)