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.
1 parent fb21752 commit 56b8d10Copy full SHA for 56b8d10
1 file changed
ext/phar/util.c
@@ -71,15 +71,11 @@ static phar_entry_info *phar_follow_one_link(phar_entry_info *entry)
71
link = phar_get_link_location(entry);
72
if (NULL != (link_entry = zend_hash_find_ptr(&(entry->phar->manifest), entry->symlink)) ||
73
NULL != (link_entry = zend_hash_find_ptr(&(entry->phar->manifest), link))) {
74
- if (link != entry->symlink) {
75
- efree(link);
76
- }
+ zend_string_release(link);
77
return link_entry;
78
}
79
80
81
82
83
return NULL;
84
85
0 commit comments