mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Check to see if arg is NULL before passing (#6094)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8133 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -1272,7 +1272,7 @@ int ast_bridge_call(struct ast_channel *chan,struct ast_channel *peer,struct ast | ||||
| 			src = chan; | ||||
| 		else if ((monitor_exec = pbx_builtin_getvar_helper(peer, "AUTO_MONITOR"))) | ||||
| 			src = peer; | ||||
| 		if (src) { | ||||
| 		if (monitor_app && src) { | ||||
| 			char *tmp = ast_strdupa(monitor_exec); | ||||
| 			if (tmp) { | ||||
| 				pbx_exec(src, monitor_app, tmp, 1); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user