summaryrefslogtreecommitdiff
path: root/cdumb.c
diff options
context:
space:
mode:
Diffstat (limited to 'cdumb.c')
-rw-r--r--cdumb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cdumb.c b/cdumb.c
index e66761fa..289d2fb5 100644
--- a/cdumb.c
+++ b/cdumb.c
@@ -787,6 +787,7 @@ cdumb_insert (DB_playItem_t *after, const char *fname) {
it->filetype = ftype;
// printf ("duration: %f\n", _info->duration);
after = deadbeef->pl_insert_item (after, it);
+ deadbeef->pl_item_unref (it);
unload_duh (duh);
return after;