projects
/
profile
/
ivi
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d210ebb
)
Handle when threaded mainloop is freed before it is started.
author
Pierre Ossman
<ossman@cendio.se>
Mon, 6 Nov 2006 10:14:16 +0000
(10:14 +0000)
committer
Pierre Ossman
<ossman@cendio.se>
Mon, 6 Nov 2006 10:14:16 +0000
(10:14 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1405
fefdeb5f
-60dc-0310-8127-
8f9354f1896f
src/pulse/thread-mainloop.c
patch
|
blob
|
history
diff --git
a/src/pulse/thread-mainloop.c
b/src/pulse/thread-mainloop.c
index
060782b
..
7e1ccfa
100644
(file)
--- a/
src/pulse/thread-mainloop.c
+++ b/
src/pulse/thread-mainloop.c
@@
-120,7
+120,8
@@
void pa_threaded_mainloop_free(pa_threaded_mainloop* m) {
pa_threaded_mainloop_stop(m);
- pa_thread_free(m->thread);
+ if (m->thread)
+ pa_thread_free(m->thread);
pa_mainloop_free(m->real_mainloop);