fs/ntfs: Add missing free.

Found by: Coverity scan.
This commit is contained in:
Vladimir Serbinenko 2015-01-25 13:22:24 +01:00
parent ca793e9c05
commit bc0ecd7104

View file

@ -618,7 +618,10 @@ list_file (struct grub_ntfs_file *diro, grub_uint8_t *pos,
ustr = get_utf8 (np, ns);
if (ustr == NULL)
return 0;
{
grub_free (fdiro);
return 0;
}
if (namespace)
type |= GRUB_FSHELP_CASE_INSENSITIVE;