mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	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
This commit is contained in:
		| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user