Commit: f732bbf978711c65ae374a9be1f15dd3952f8b80
Parent: cff8c39fb53a931e406891391fb8e7e3c52678ae
Author: Mikel Astiz <mikel.astiz@bmw-carit.de>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-03-13 15:53:07
Tree: ed7a9985cbe81e9be7ab63967a06ae8cf5b1f637

audio: fix missing unref in case of error audio_adapter_get() increases the reference counter of the adapter, so it's necessary to decrement it in case of error.

Diffstat

M audio/manager.c | 21 ++++++++++++++++++- - -

1 files changed, 18 insertions(+), 3 deletions(-)

View Full Diff | Patch