pulse-server: handle strdup error

This commit is contained in:
Wim Taymans 2026-05-05 14:54:43 +02:00
parent 899051169e
commit 01b2af13c7

View file

@ -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;