mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-15 00:35:03 -05:00
[daapd] Fix scan-build issue "Dereference of null pointer"
This commit is contained in:
parent
75432ce73f
commit
46b37b2c80
@ -1707,6 +1707,9 @@ daap_reply_groups(struct httpd_request *hreq)
|
|||||||
for (i = 0; i < nmeta; i++)
|
for (i = 0; i < nmeta; i++)
|
||||||
{
|
{
|
||||||
df = meta[i];
|
df = meta[i];
|
||||||
|
if (!df)
|
||||||
|
continue;
|
||||||
|
|
||||||
dfm = df->dfm;
|
dfm = df->dfm;
|
||||||
|
|
||||||
/* dmap.itemcount - always added */
|
/* dmap.itemcount - always added */
|
||||||
|
Loading…
Reference in New Issue
Block a user