mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-06 06:46:29 -04:00
pulse-server: handle strdup error
This commit is contained in:
parent
899051169e
commit
01b2af13c7
1 changed files with 2 additions and 0 deletions
|
|
@ -121,6 +121,8 @@ void module_args_add_props(struct pw_properties *props, const char *str)
|
||||||
{
|
{
|
||||||
spa_autofree char *s = strdup(str);
|
spa_autofree char *s = strdup(str);
|
||||||
char *p = s, *e, f;
|
char *p = s, *e, f;
|
||||||
|
if (s == NULL)
|
||||||
|
return;
|
||||||
const char *k, *v;
|
const char *k, *v;
|
||||||
const struct str_map *map;
|
const struct str_map *map;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue