[pipe/raop] Check for NULL to avoid scan-build issues (in case of oom)

This commit is contained in:
chme
2018-12-27 08:56:18 +01:00
committed by ejurgensen
parent a37fc0916f
commit 788cb6f133
2 changed files with 2 additions and 2 deletions

View File

@@ -4730,7 +4730,7 @@ raop_device_cb(const char *name, const char *type, const char *domain, const cha
p = keyval_get(txt, "et");
if (p)
{
et = strdup(p);
CHECK_NULL(L_RAOP, et = strdup(p));
token = strtok_r(et, ",", &ptr);
while (token)
{