mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 14:59:34 +00:00
fs/ntfs: Add missing free.
Found by: Coverity scan.
This commit is contained in:
1 parent
ca793e9c05
commit
bc0ecd7104
1 file changed
+4
-1
+4
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user