[pulseaudio-commits] [SCM] PulseAudio Sound Server branch, master, updated. v0.9.16-test5-17-gde19bdd

Lennart Poettering gitmailer-noreply at 0pointer.de
Fri Aug 21 14:59:21 PDT 2009


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 <sreeves at novell.com>
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



More information about the pulseaudio-commits mailing list