diff options
-rw-r--r-- | ext/standard/ftp_fopen_wrapper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/ftp_fopen_wrapper.c b/ext/standard/ftp_fopen_wrapper.c index f21f2fc0be..826bd9453b 100644 --- a/ext/standard/ftp_fopen_wrapper.c +++ b/ext/standard/ftp_fopen_wrapper.c @@ -745,6 +745,7 @@ static int php_stream_ftp_url_stat(php_stream_wrapper *wrapper, char *url, php_s sscanf(tmp_line + 4, "%d", (int *)&(ssb->sb.st_size)); php_stream_close(stream); + php_url_free(resource); return 0; stat_errexit: |