We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e34806 commit f51c8d5Copy full SHA for f51c8d5
1 file changed
ext/phar/util.c
@@ -82,14 +82,10 @@ phar_entry_info *phar_get_link_source(phar_entry_info *entry) /* {{{ */
82
83
if (NULL != (link_entry = zend_hash_find_ptr(&(entry->phar->manifest), entry->symlink)) ||
84
NULL != (link_entry = zend_hash_find_ptr(&(entry->phar->manifest), link))) {
85
- if (link != entry->symlink) {
86
- zend_string_release(link);
87
- }
+ zend_string_release(link);
88
entry = link_entry;
89
} else {
90
91
92
93
return NULL;
94
}
95
0 commit comments