[dacp] Add missing call to "db_queue_enum_end" in error case

This commit is contained in:
chme 2018-03-02 17:49:53 +01:00
parent f47a17e186
commit 2b5fa56bf9

View File

@ -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++;
}