mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
MFB(r-1.68.2.5) Bug 22052
This commit is contained in:
parent
0b2216e03d
commit
a9e1b5f641
1 changed files with 4 additions and 2 deletions
|
@ -1646,8 +1646,10 @@ ftp_genlist(ftpbuf_t *ftp, const char *cmd, const char *path TSRMLS_DC)
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
bail:
|
bail:
|
||||||
|
if (data)
|
||||||
data_close(ftp, data);
|
data_close(ftp, data);
|
||||||
fclose(tmpfp);
|
fclose(tmpfp);
|
||||||
|
if (ret)
|
||||||
efree(ret);
|
efree(ret);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue