summaryrefslogtreecommitdiff
path: root/plugins/vorbis
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-10-05 19:48:55 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-10-05 19:48:55 +0200
commit8045bd869397a2303d4e14fef21448acc0a8f2c2 (patch)
treecdd77eb554807faeac1a825a822839836f9c6c24 /plugins/vorbis
parenta091698bf50f49c10e5537282b98fb33d22e07dc (diff)
fixed few more memleaks
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;
}