fs/ntfs: Add missing free.

Found by: Coverity scan.
This commit is contained in:
Vladimir Serbinenko committed 2015-01-25 20:32:31 +01:00
1 parent ca793e9c05
commit bc0ecd7104
1 file changed
+3
+3
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)
{
grub_free (fdiro);
return 0;
}
if (namespace)
type |= GRUB_FSHELP_CASE_INSENSITIVE;