diff options
Diffstat (limited to 'plugins/vorbis/vorbis.c')
-rw-r--r-- | plugins/vorbis/vorbis.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/vorbis/vorbis.c b/plugins/vorbis/vorbis.c index 11a93dc2..4532eef9 100644 --- a/plugins/vorbis/vorbis.c +++ b/plugins/vorbis/vorbis.c @@ -374,6 +374,7 @@ cvorbis_insert (DB_playItem_t *after, const char *fname) { deadbeef->pl_set_item_duration (it, -1); deadbeef->pl_add_meta (it, "title", NULL); after = deadbeef->pl_insert_item (after, it); + deadbeef->pl_item_unref (it); return after; } ov_callbacks ovcb = { @@ -426,6 +427,7 @@ cvorbis_insert (DB_playItem_t *after, const char *fname) { } after = deadbeef->pl_insert_item (after, it); + deadbeef->pl_item_unref (it); return after; } |