mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
daemon: don't free script_commands twice
This commit is contained in:
parent
17dc410e88
commit
aa5429805f
1 changed files with 0 additions and 5 deletions
|
|
@ -385,11 +385,6 @@ int pa_cmdline_parse(pa_daemon_conf *conf, int argc, char *const argv [], int *d
|
||||||
pa_xfree(conf->script_commands);
|
pa_xfree(conf->script_commands);
|
||||||
conf->script_commands = pa_strbuf_tostring_free(buf);
|
conf->script_commands = pa_strbuf_tostring_free(buf);
|
||||||
|
|
||||||
if (conf->script_commands) {
|
|
||||||
pa_xfree(conf->script_commands);
|
|
||||||
conf->script_commands = NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
*d = optind;
|
*d = optind;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue