Commit: e21b24d8258c0d3a06d19c4124a013b9c28719f9
Parent: 63ffbe33a5545eea9a007987d86ef7844daf141d
Author: Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2014-01-15 11:32:51
Tree: eaeb6307f709e2ae43ebcd9da28c170f82b05aae

android/a2dp: Fix freeing preset on SEP close In case SEP was opened from local side, corresponding a2dp_setup structure has just reference to a2dp_preset which is stored on presets list. As a result, when closing SEP such preset will be freed leaving dangling pointer on presets list.

Diffstat

M android/a2dp.c | 4 +++-

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

View Full Diff | Patch