mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	Merge "res_ari_applications: Fix incorrect call to ao2_lock."
This commit is contained in:
		| @@ -58,7 +58,7 @@ void ast_ari_applications_list(struct ast_variable *headers, | ||||
| 	ao2_lock(apps); | ||||
| 	count = ao2_container_count(apps); | ||||
| 	ao2_callback(apps, OBJ_NOLOCK | OBJ_NODATA, append_json, json); | ||||
| 	ao2_lock(apps); | ||||
| 	ao2_unlock(apps); | ||||
|  | ||||
| 	if (count != ast_json_array_size(json)) { | ||||
| 		ast_ari_response_error(response, 500, "Internal Server Error", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user