mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
match: Don't double free in case of missing table file
This commit is contained in:
parent
ff273b49d7
commit
9b58b7d6c2
1 changed files with 0 additions and 1 deletions
|
|
@ -95,7 +95,6 @@ static int load_rules(struct userdata *u, const char *filename) {
|
|||
f = pa_open_config_file(DEFAULT_MATCH_TABLE_FILE, DEFAULT_MATCH_TABLE_FILE_USER, NULL, &fn);
|
||||
|
||||
if (!f) {
|
||||
pa_xfree(fn);
|
||||
pa_log("Failed to open file config file: %s", pa_cstrerror(errno));
|
||||
goto finish;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue