Merged revisions 47748 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47748 | file | 2006-11-16 12:52:48 -0500 (Thu, 16 Nov 2006) | 2 lines

Don't unreference the SLA object if there is no SLA object in the devicestate callback. (issue #8354 reported by loloski)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47749 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.0
Joshua Colp 19 years ago
parent c2ae0ed9b3
commit 9a40c9c4f2

@ -2953,6 +2953,10 @@ static int slastate(const char *data)
/* Find conference */
sla = sla2 = ASTOBJ_CONTAINER_FIND(&slas, data);
if (!sla2)
return AST_DEVICE_INVALID;
ASTOBJ_UNREF(sla2, sla_destroy);
if (option_debug)

Loading…
Cancel
Save