diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-08-22 03:16:47 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-08-22 03:16:47 +0200 |
commit | aa5429805f88bcade639e5e8667b79a07ec104b6 (patch) | |
tree | b014b1c0520c3432a70e4073ac2d8890f0b1d05a | |
parent | 17dc410e8874d38ce7a9882245360314a8251e06 (diff) |
daemon: don't free script_commands twice
-rw-r--r-- | src/daemon/cmdline.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/daemon/cmdline.c b/src/daemon/cmdline.c index 3ebc92702..f6cdcdc83 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; |