From 9dc608646dced36279c4501c4996e4e3c7c043e5 Mon Sep 17 00:00:00 2001 From: Eric Laurent Date: Mon, 31 Aug 2009 03:10:25 -0700 Subject: [PATCH] Fix issue 2085730: AudioPolicyManager: The A2DP output descriptor is not released if the associated duplicated output cannot be opened. The fix consists in deallocating the A2DP output descriptor when the duplicated output opening fails in AudioPolicyManager::setDeviceConnectionState().