util/grub-mount: fix descriptor leak.
Found by: Coverity scan.
This commit is contained in:
parent
bd4e20eedf
commit
1a87156e01
1 changed files with 1 additions and 0 deletions
|
@ -516,6 +516,7 @@ argp_parser (int key, char *arg, struct argp_state *state)
|
|||
return 0;
|
||||
}
|
||||
grub_zfs_add_key (buf, real_size, 0);
|
||||
fclose (f);
|
||||
}
|
||||
return 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue