]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Check for ao2_alloc failure in __ast_channel_internal_alloc. 88/188/1
authorCorey Farrell <git@cfware.com>
Tue, 21 Apr 2015 20:17:33 +0000 (16:17 -0400)
committerCorey Farrell <git@cfware.com>
Tue, 21 Apr 2015 20:17:33 +0000 (16:17 -0400)
commitfc79cae5d54b4d7ebec69ad68574a5a5545acdf1
treeaccec2a0df0411de502bf7846bdaeda4fc1bf09b
parente4b956b1860c85cd47e86478e536405b356baa8a
Check for ao2_alloc failure in __ast_channel_internal_alloc.

Fix a crash that could occur in __ast_channel_internal_alloc if
ao2_alloc fails.

ASTERISK-24991 #close

Change-Id: I4ca89189eb22f907408cb87d0a1645cfe1314a90
main/channel_internal_api.c