diff --git a/src/modules/module-protocol-pulse/module.c b/src/modules/module-protocol-pulse/module.c index 35b5c9952..37989985b 100644 --- a/src/modules/module-protocol-pulse/module.c +++ b/src/modules/module-protocol-pulse/module.c @@ -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;