mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 15:45:56 -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);
|
||||
if (ret < 0)
|
||||
goto error;
|
||||
{
|
||||
db_queue_enum_end(&qp);
|
||||
goto error;
|
||||
}
|
||||
|
||||
count++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user