summaryrefslogtreecommitdiff
path: root/plugins/flac/flac.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/flac/flac.c')
-rw-r--r--plugins/flac/flac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/flac/flac.c b/plugins/flac/flac.c
index 0c6d232f..9281b62e 100644
--- a/plugins/flac/flac.c
+++ b/plugins/flac/flac.c
@@ -704,6 +704,7 @@ cflac_insert (DB_playItem_t *after, const char *fname) {
goto cflac_insert_fail;
}
after = deadbeef->pl_insert_item (after, it);
+ deadbeef->pl_item_unref (it);
if (info.file) {
deadbeef->fclose (info.file);
}