summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-08-22 03:16:47 +0200
committerLennart Poettering <lennart@poettering.net>2009-08-22 03:16:47 +0200
commitaa5429805f88bcade639e5e8667b79a07ec104b6 (patch)
treeb014b1c0520c3432a70e4073ac2d8890f0b1d05a
parent17dc410e8874d38ce7a9882245360314a8251e06 (diff)
daemon: don't free script_commands twice
-rw-r--r--src/daemon/cmdline.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/daemon/cmdline.c b/src/daemon/cmdline.c
index 3ebc9270..f6cdcdc8 100644
--- a/src/daemon/cmdline.c
+++ b/src/daemon/cmdline.c
@@ -385,11 +385,6 @@ 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) {
- pa_xfree(conf->script_commands);
- conf->script_commands = NULL;
- }
-
*d = optind;
return 0;