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:
b4d4f2b
)
cli: properly destruct cli object
author
Lennart Poettering
<lennart@poettering.net>
Thu, 17 Sep 2009 02:04:54 +0000
(
04:04
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 17 Sep 2009 02:04:54 +0000
(
04:04
+0200)
src/modules/module-cli.c
patch
|
blob
|
history
diff --git
a/src/modules/module-cli.c
b/src/modules/module-cli.c
index
60a9d46
..
6bd0f4f
100644
(file)
--- a/
src/modules/module-cli.c
+++ b/
src/modules/module-cli.c
@@
-93,7
+93,7
@@
int pa__init(pa_module*m) {
}
if (pa_stdio_acquire() < 0) {
- pa_log("STDIN/STD
USE
already in use.");
+ pa_log("STDIN/STD
OUT
already in use.");
goto fail;
}
@@
-132,7
+132,7
@@
fail:
void pa__done(pa_module*m) {
pa_assert(m);
- if (m->
core->running_as_daemon == 0
) {
+ if (m->
userdata
) {
pa_cli_free(m->userdata);
pa_stdio_release();
}