util/setup: fix grub_util_path_list leak
Add helper grub_util_free_path_list and use it where appropriate. Found by: Coverity scan. CID: 73727
This commit is contained in:
parent
57e7f1b775
commit
0e075ac385
4 changed files with 19 additions and 8 deletions
|
@ -31,5 +31,6 @@ struct grub_util_path_list *
|
|||
grub_util_resolve_dependencies (const char *prefix,
|
||||
const char *dep_list_file,
|
||||
char *modules[]);
|
||||
void grub_util_free_path_list (struct grub_util_path_list *path_list);
|
||||
|
||||
#endif /* ! GRUB_UTIL_RESOLVE_HEADER */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue