An error occurred while fetching folder content.
files: don't reuse a variable that may have been modified by dirname()
Benno Schulenberg authored
The variable 'namecopy' has been passed to dirname(), so it is likely
to have been changed when it contains a slash.  So, use a new variable
instead.  Also, free the result of display_string().

This fixes https://savannah.gnu.org/bugs/?47956.
c9d1936f
Name Last commit Last update