mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-07 01:28:23 +02: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);
|
||||
char *p = s, *e, f;
|
||||
if (s == NULL)
|
||||
return;
|
||||
const char *k, *v;
|
||||
const struct str_map *map;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue