mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 08:58:05 +02:00
[libply] Fix memleak in command parser
This commit is contained in:
parent
579419b01e
commit
ad52a2f7aa
1 changed files with 2 additions and 0 deletions
|
|
@ -371,6 +371,8 @@ ply_command_parser_free (ply_command_parser_t *command_parser)
|
|||
ply_list_free (command_parser->available_subcommands);
|
||||
ply_list_free (command_parser->read_subcommands);
|
||||
|
||||
ply_command_free (command_parser->main_command);
|
||||
|
||||
free (command_parser);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue