Commit: a471827d1f949f1da68500c03f5a2328e3a483d0
Parent: 9d509ed83d8446976eb3a275f86cb543976cd58a
Author: Frédéric Dalleau <frederic.dalleau@linux.intel.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2011-08-24 14:20:55
Tree: f2fc859ba3bab68c060992a2d891746da8e9197d

Fix double free in error case in endpoint_reply If SetConfiguration call fails, the headset or gateway for which SetConfiguration is called is disconnected. This will free any pending request, but this does not prevent the request to terminate (endpoint_reply) and try to free itself once again. Note that a copy of the freed pointer is tested which has not been updated.

Diffstat

M audio/media.c | 3 ++-

1 files changed, 2 insertions(+), 1 deletions(-)

View Full Diff | Patch