This is an automated email from the git hooks/post-receive script. It was
generated because of a push to the "PulseAudio Sound Server" repository.
The master branch has been updated
from 066e160bbd095afe79fc7ea79fbc88b8746960cc (commit)
- Log -----------------------------------------------------------------
de19bdd daemon: fix leak of script_commands
-----------------------------------------------------------------------
Summary of changes:
src/daemon/cmdline.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
-----------------------------------------------------------------------
commit de19bdd34e54c6a4fe8791d28ce0733343381488
Author: Scott Reeves <[email protected]>
Date: Fri Aug 21 23:59:39 2009 +0200
daemon: fix leak of script_commands
diff --git a/src/daemon/cmdline.c b/src/daemon/cmdline.c
index ecb3848..3ebc927 100644
--- 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;
}
--
hooks/post-receive
PulseAudio Sound Server
_______________________________________________
pulseaudio-commits mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/pulseaudio-commits