diff options
Diffstat (limited to 'plugins/ffap')
-rw-r--r-- | plugins/ffap/ffap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ffap/ffap.c b/plugins/ffap/ffap.c index 0a4e3276..4319fd5f 100644 --- a/plugins/ffap/ffap.c +++ b/plugins/ffap/ffap.c @@ -1721,7 +1721,7 @@ ffap_insert (DB_playItem_t *after, const char *fname) { DB_playItem_t *cue = deadbeef->pl_insert_cue (after, it, ape_ctx.totalsamples, ape_ctx.samplerate); if (cue) { - deadbeef->pl_item_free (it); + deadbeef->pl_item_unref (it); return cue; } @@ -1730,7 +1730,7 @@ ffap_insert (DB_playItem_t *after, const char *fname) { if (cuesheet) { cue = deadbeef->pl_insert_cue_from_buffer (after, it, cuesheet, strlen (cuesheet), ape_ctx.totalsamples, ape_ctx.samplerate); if (cue) { - deadbeef->pl_item_free (it); + deadbeef->pl_item_unref (it); return cue; } } |