https://www.midnight-commander.org/ticket/2784 https://www.midnight-commander.org/changeset/ac880c71a74c1fc75d7162b2ca3613970479e663 --- mc-4.8.3/src/filemanager/chown.c +++ mc-4.8.3/src/filemanager/chown.c @@ -378,7 +378,7 @@ if (mc_chown (fname_vpath, new_user, new_group) == -1) message (D_ERROR, MSG_ERROR, _("Cannot chown \"%s\"\n%s"), fname, unix_error_string (errno)); - vfs_path_free (vpath); + vfs_path_free (fname_vpath); } else apply_chowns (new_user, new_group);