diff options
author | Corey Farrell <git@cfware.com> | 2017-12-25 21:39:28 -0500 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2017-12-25 20:53:02 -0600 |
commit | d62c87bb8d169a29f696a1aa2b23a2267f531e7e (patch) | |
tree | 738e6541e2e5c1d9c8e83b7f8c50ced146056321 /main/autochan.c | |
parent | 53799318bc040a2082904df86d42ab08790b47ec (diff) |
cdr: Missing NULL check and unlock.
* handle_dial_message: Missing a check for NULL peer.
* ast_cdr_register: Missing unlock on allocation failure.
ast_cdr_register is fixed by reordering so the new structure is
allocated and initialized before locking the list.
Change-Id: I5799b99270d1a7a716a555c31ac85f4b00ce8686
Diffstat (limited to 'main/autochan.c')
0 files changed, 0 insertions, 0 deletions