projects
/
profile
/
ivi
/
pulseaudio-panda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a73c615
)
simple: call pa_context_disconnect() just to be sure
author
Lennart Poettering
<lennart@poettering.net>
Tue, 4 Aug 2009 23:04:50 +0000
(
01:04
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 4 Aug 2009 23:04:50 +0000
(
01:04
+0200)
src/pulse/simple.c
patch
|
blob
|
history
diff --git
a/src/pulse/simple.c
b/src/pulse/simple.c
index
c2014c5
..
b5e108f
100644
(file)
--- a/
src/pulse/simple.c
+++ b/
src/pulse/simple.c
@@
-261,8
+261,10
@@
void pa_simple_free(pa_simple *s) {
if (s->stream)
pa_stream_unref(s->stream);
- if (s->context)
+ if (s->context) {
+ pa_context_disconnect(s->context);
pa_context_unref(s->context);
+ }
if (s->mainloop)
pa_threaded_mainloop_free(s->mainloop);