mirror of https://github.com/asterisk/asterisk
`ast_cli_unregister_multiple()` expects internal data members to be heap allocated which happens during a successful call to `ast_cli_register_multiple()`. CLI handlers defined traditionally - those whose handler responds to the CLI_INIT message - take care of this automatically. But when we statically provide a `command` or `usage` member, we _must_ initialize them with `ast_cli_register_multiple()` before attempting to destroy them. Resolves: #1651pull/1848/head
parent
5708ca159e
commit
b61ec10431
Loading…
Reference in new issue