mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pulse: return NULL format in error
This commit is contained in:
parent
732bf4b58c
commit
617afee62b
1 changed files with 1 additions and 2 deletions
|
|
@ -865,11 +865,10 @@ pa_format_info* pa_format_info_from_param(const struct spa_pod *param)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
out:
|
|
||||||
return f;
|
return f;
|
||||||
error:
|
error:
|
||||||
pa_format_info_free(f);
|
pa_format_info_free(f);
|
||||||
goto out;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue