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:
066e160
)
daemon: fix leak of script_commands
author
Scott Reeves
<sreeves@novell.com>
Fri, 21 Aug 2009 21:59:39 +0000
(23:59 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 21 Aug 2009 21:59:39 +0000
(23:59 +0200)
src/daemon/cmdline.c
patch
|
blob
|
history
diff --git
a/src/daemon/cmdline.c
b/src/daemon/cmdline.c
index
ecb3848
..
3ebc927
100644
(file)
--- a/
src/daemon/cmdline.c
+++ b/
src/daemon/cmdline.c
@@
-385,7
+385,7
@@
int pa_cmdline_parse(pa_daemon_conf *conf, int argc, char *const argv [], int *d
pa_xfree(conf->script_commands);
conf->script_commands = pa_strbuf_tostring_free(buf);
- if (
!
conf->script_commands) {
+ if (conf->script_commands) {
pa_xfree(conf->script_commands);
conf->script_commands = NULL;
}