summaryrefslogtreecommitdiff
path: root/plugins/gtkui/actionhandlers.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <waker@users.sourceforge.net>2014-01-20 21:53:25 +0100
committerGravatar Alexey Yakovenko <waker@users.sourceforge.net>2014-01-20 21:53:25 +0100
commit01aaf80f8dbfddd58399114ee27e261d5c601c59 (patch)
treeb83c11cb5055d850b13a1275253d3327687e7b00 /plugins/gtkui/actionhandlers.c
parent96a1dbc5c984f51f42ff6b7bea51ed73a39d061f (diff)
fixed playlist loaders refcounting bug
Diffstat (limited to 'plugins/gtkui/actionhandlers.c')
-rw-r--r--plugins/gtkui/actionhandlers.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/gtkui/actionhandlers.c b/plugins/gtkui/actionhandlers.c
index e6330973..6e3934e4 100644
--- a/plugins/gtkui/actionhandlers.c
+++ b/plugins/gtkui/actionhandlers.c
@@ -666,9 +666,6 @@ load_playlist_thread (void *data) {
deadbeef->plt_clear (plt);
int abort = 0;
DB_playItem_t *it = deadbeef->plt_load2 (0, plt, NULL, fname, &abort, NULL, NULL);
- if (it) {
- deadbeef->pl_item_unref (it);
- }
deadbeef->plt_save_config (plt);
deadbeef->plt_add_files_end (plt, 0);
}