[libply] Fix memleak in command parser

This commit is contained in:
Frederic Crozat 2009-08-10 14:10:57 +02:00
parent 579419b01e
commit ad52a2f7aa

View file

@ -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);
}