mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
fix obvious memory leak
This commit is contained in:
parent
1b5a8cc258
commit
7a62dcaa5e
1 changed files with 1 additions and 0 deletions
|
@ -646,6 +646,7 @@ static void phar_file_stat(const char *filename, php_stat_len filename_length, i
|
|||
entry_len = (int) filename_length;
|
||||
if (FAILURE == phar_get_archive(&phar, arch, arch_len, NULL, 0, NULL TSRMLS_CC)) {
|
||||
efree(arch);
|
||||
efree(entry);
|
||||
goto skip_phar;
|
||||
}
|
||||
splitted:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue