We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 47bec0c + 7d3c726 commit 79b1419Copy full SHA for 79b1419
ext/phar/phar_object.c
@@ -2778,6 +2778,7 @@ PHP_METHOD(Phar, setAlias)
2778
phar_flush(phar_obj->archive, &error);
2779
2780
if (error) {
2781
+ pefree(phar_obj->archive->alias, phar_obj->archive->is_persistent);
2782
phar_obj->archive->alias = oldalias;
2783
phar_obj->archive->alias_len = oldalias_len;
2784
phar_obj->archive->is_temporary_alias = old_temp;
0 commit comments