fix recording for simpel and esound protocols

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@54 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2004-07-09 23:26:10 +00:00
parent 863fb90d90
commit cffc7768bd
22 changed files with 480 additions and 176 deletions

View file

@ -541,7 +541,8 @@ struct pa_stream* pa_stream_new(
void pa_stream_free(struct pa_stream *s) {
assert(s && s->context);
pa_pdispatch_unregister_reply(s->context->pdispatch, s);
if (s->context->pdispatch)
pa_pdispatch_unregister_reply(s->context->pdispatch, s);
free(s->name);