diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-10-04 22:49:49 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-10-04 22:49:49 +0200 |
commit | a091698bf50f49c10e5537282b98fb33d22e07dc (patch) | |
tree | 22c697b076e259839dcb4193a072da6c7e6128e8 /plugins/sndfile | |
parent | 43beeb7291d4c3290bc87f6aa55941dbfcd2d2bd (diff) |
fixed few random memleaks
Diffstat (limited to 'plugins/sndfile')
-rw-r--r-- | plugins/sndfile/sndfile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/sndfile/sndfile.c b/plugins/sndfile/sndfile.c index 90390603..ab1d1ee9 100644 --- a/plugins/sndfile/sndfile.c +++ b/plugins/sndfile/sndfile.c @@ -275,6 +275,7 @@ sndfile_insert (DB_playItem_t *after, const char *fname) { info.ctx = sf_open_virtual (&vfs, SFM_READ, &inf, &info); if (!info.ctx) { trace ("sndfile: sf_open failed"); + deadbeef->fclose (info.file); return NULL; } int totalsamples = inf.frames; |