mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-28 08:05:56 -05:00
[queue] Fix memory leak in queue_make_item
This commit is contained in:
parent
100e08da9d
commit
35df9455b9
@ -1122,7 +1122,7 @@ queue_make_item(uint32_t dbmfi_id)
|
||||
qp.limit = 0;
|
||||
qp.sort = S_NONE;
|
||||
snprintf(buf, sizeof(buf), "f.id = %" PRIu32, dbmfi_id);
|
||||
qp.filter = strdup(buf);
|
||||
qp.filter = buf;
|
||||
|
||||
item = queue_make(&qp);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user