summaryrefslogtreecommitdiff
path: root/plugins/vorbis
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/vorbis')
-rw-r--r--plugins/vorbis/vorbis.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/vorbis/vorbis.c b/plugins/vorbis/vorbis.c
index 38c97532..fc0afe9e 100644
--- a/plugins/vorbis/vorbis.c
+++ b/plugins/vorbis/vorbis.c
@@ -433,6 +433,7 @@ cvorbis_insert (DB_playItem_t *after, const char *fname) {
if (err != 0) {
trace ("ov_open_callbacks returned %d\n", err);
ov_clear (&vorbis_file);
+ deadbeef->fclose (fp);
return NULL;
}