diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-02-20 00:18:31 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-02-20 00:18:31 +0100 |
commit | a558bbefae4e0a9f4d2b9aa539b94ae0344f6aed (patch) | |
tree | 6f7a76deebc4a8471e305d4da33f89ad703ba8bf /src/read-wav.c | |
parent | 70b59780bf23f0adc71a4cff8d87883472190ef0 (diff) |
pulse: fix a minor race with sound cancellation
If we call pa_stream_drain() and immediately afterwards destroy the
stream it might happen that the pa_stream_drain() callback is called
after the destruction finished pointing to an invalid out structure.
To fix this we need to terminate the _drain() callback to make sure the
reference to the not existing structure is dropped.
Diffstat (limited to 'src/read-wav.c')
0 files changed, 0 insertions, 0 deletions