Coverity complained about data->sink being possibly NULL when it's dereferenced later. It was difficult for me to figure out whether that was a false positive or not. Hopefully the comments make it a bit easier to reason about the code in the future.
917730a5 sink-input, source-output: add a couple of assertions
src/pulsecore/sink-input.c | 5 +++++
src/pulsecore/source-output.c | 5 +++++
2 files changed, 10 insertions(+)