mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-09 13:39:47 -05:00
[pipe/raop] Check for NULL to avoid scan-build issues (in case of oom)
This commit is contained in:
@@ -417,7 +417,7 @@ parse_item(struct input_metadata *m, const char *item)
|
||||
if (data != &progress && data != &volume)
|
||||
free(*data);
|
||||
|
||||
*data = b64_decode(s);
|
||||
CHECK_NULL(L_PLAYER, *data = b64_decode(s));
|
||||
|
||||
DPRINTF(E_DBG, L_PLAYER, "Read Shairport metadata (type=%8x, code=%8x): '%s'\n", type, code, *data);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user