diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-10-09 17:29:39 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-10-09 17:29:39 +0200 |
commit | 3b804865eaa0d6d7ede7e4282fe394a1152806f4 (patch) | |
tree | 3611575b661ad358157a8bbdb72fd79111876808 /audio/gsta2dpsink.c | |
parent | 17541956196b13ee083852fd4124cd8cfd0928a4 (diff) |
Clean up properly if stream starting fails
Remove the stream state callback if stream start fails. Without this patch the
callback could still be called after a unix client has disconnected which in
turn would cause a double-free to occur. There is code to remove the callback
also in client_free() but it won't work since we remove any references to the
session and stream in the resume callback.
Diffstat (limited to 'audio/gsta2dpsink.c')
0 files changed, 0 insertions, 0 deletions