mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-29 00:23:23 -05:00
[dacp] Add missing call to "db_queue_enum_end" in error case
This commit is contained in:
parent
f47a17e186
commit
2b5fa56bf9
@ -1703,7 +1703,10 @@ dacp_reply_playqueuecontents(struct httpd_request *hreq)
|
|||||||
{
|
{
|
||||||
ret = playqueuecontents_add_queue_item(songlist, &queue_item, count, status.plid);
|
ret = playqueuecontents_add_queue_item(songlist, &queue_item, count, status.plid);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
|
{
|
||||||
|
db_queue_enum_end(&qp);
|
||||||
goto error;
|
goto error;
|
||||||
|
}
|
||||||
|
|
||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user