]> git.ipfire.org Git - thirdparty/grub.git/commit
kern/parser: Refactor grub_parser_split_cmdline() cleanup
authorChris Coulson <chris.coulson@canonical.com>
Wed, 6 Jan 2021 13:54:26 +0000 (13:54 +0000)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 2 Mar 2021 14:54:19 +0000 (15:54 +0100)
commit8bc817014ce3d7a498db44eae33c8b90e2430926
tree33baf9c536713f4c02839e6201471eba47b4cf9c
parent3d157bbd06506b170fde5ec23980c4bf9f7660e2
kern/parser: Refactor grub_parser_split_cmdline() cleanup

Introduce a common function epilogue used for cleaning up on all
return paths, which will simplify additional error handling to be
introduced in a subsequent commit.

Signed-off-by: Chris Coulson <chris.coulson@canonical.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/kern/parser.c