Signed-off-by: Qiumiao Zhang <zhangqiumi...@huawei.com> --- util/grub-mount.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/util/grub-mount.c b/util/grub-mount.c index 1c35b6a6e..c69889df9 100644 --- a/util/grub-mount.c +++ b/util/grub-mount.c @@ -198,6 +198,7 @@ fuse_getattr (const char *path, struct stat *st, (fs->fs_dir) (dev, path2, fuse_getattr_find_file, &ctx); grub_free (path2); + free (pathname); if (!ctx.file_exists) { grub_errno = GRUB_ERR_NONE; -- 2.28.0.windows.1 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel